Vim spelling reference
This is another simple Vim spelling reference.
- :set spell
- enable spell checking
- :set nospell
- disable spell checking
- ]s
- jump to the next misspelled word
- [s
- jump to the previous misspelled word
- z=
- bring up the spelling suggestions
- zg
- add the word to the good words file
- You can prefix zg with a count (defaults to 1) to specify the spellfile to add the word to.
- zG
- add the word to the volatile ignore words list
- zw
- remove the word from the good words file
- You can prefix zg with a count (defaults to 1) to specify the spellfile to remove the word from.
- :setlocal spellfile+=/path/<name>.utf-8.add
- Append the <name>.utf-8.add spell file to the list of spelling files to be checked.