Vim Recall繁體中文

Permanently mark word as incorrectly spelled

zw

Example

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

Permanently mark word as incorrectly spelled.

English spelling

speling
bad
ordinary
accepted
mispelled
bad

Example files

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

English spelling

speling
bad
ordinary
accepted
mispelled
bad

Example files

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

English spelling

speling
bad
ordinary
bad
mispelled
bad

Example files

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

Start in Normal mode. English spelling uses Vim's installed system dictionary. Persistent good/bad word operations write only example.add and its compiled companion in this temporary directory.

Details & Vim help

Example replayed in Vim

Permanently mark word as incorrectly spelled. Use in Normal mode. Availability and exact behavior can depend on Vim build features, options, mappings and editor state; the linked help is authoritative.