Vim Recall繁體中文

Add rare word for spelling

:spellrare

Example

Normal 0 / 2
speling ordinary mispelled
speling ordinary
Cursor on line 1, column 1

Add rare word for spelling.

English spelling

speling
bad
ordinary
accepted
mispelled
bad

Example files

Empty
Before & after
Before
speling ordinary mispelled
speling ordinary
Cursor on line 1, column 1

English spelling

speling
bad
ordinary
accepted
mispelled
bad

Example files

Empty
After
speling ordinary mispelled
speling ordinary
Cursor on line 1, column 1

English spelling

speling
bad
ordinary
accepted
mispelled
bad

Example files

example.add
ordinary/?
example.add.spl
42 bytes

Start in Normal mode. Spelling is enabled with spelllang=en_us using Vim's installed English dictionary and the temporary spellfile example.add. Any added word data is confined to this temporary example directory.

Details & Vim help

Example replayed in Vim

Add rare word for spelling. 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 :spellra[re] 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.