Vim Recall繁體中文

Split window and fill with all correct words

:spelldump

Example

Normal 0 / 2

Split window and fill with all correct words.

Prepared spelling fixture

spell
on
spelllang
tiny
runtimepath
/demo
/demo/spell/tiny.utf-8.spl
compiled from only: blue, red; no affixes, regions or compound rules

Windows

notes.txt Active
red bluu
Before & after

Before

Prepared spelling fixture

spell
on
spelllang
tiny
runtimepath
/demo
/demo/spell/tiny.utf-8.spl
compiled from only: blue, red; no affixes, regions or compound rules

Windows

notes.txt Active
red bluu

After

Prepared spelling fixture

spell
on
spelllang
tiny
runtimepath
/demo
/demo/spell/tiny.utf-8.spl
compiled from only: blue, red; no affixes, regions or compound rules

Windows

Spell dump Active
# file: /demo/spell/tiny.utf-8.spl blue red
notes.txt
red bluu

Dumped valid word set

blue
valid
red
valid
bluu
not present

Subject: :spelldump. Documentation-backed illustration; assumes +spell, UTF-8, runtimepath=/demo and spelllang=tiny, prepared /demo/spell/tiny.utf-8.spl as the only loaded word source and splitbelow unset; not replay-verified. Opens a new window containing the current spell file's valid words, with a source-file comment header. This tiny fixture has exactly blue and red; compound words are not dumped. Main text stays visible as context.

Sample buffer
red bluu
Cursor on line 1, column 1
Details & Vim help

Split window and fill with all correct words. This Ex reference uses the full command name; the alphabetical index omits arguments. Supply the ranges, arguments, flags and prerequisite state documented in the linked help. Press Enter to submit a complete command. The index spelling :spelld[ump] puts the optional abbreviation suffix in square brackets; those brackets are not typed. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.