Vim has built-in ability to perform spellcheck. The VimCasts video on spellcheck gives a good summary of these features.
- Use the
set spelllangoption to set the language to be used for spellcheck. For example, to set International English, add this to your vimrc:
- To perform a spellcheck use
:set spell. The wrongly spelled words are marked in Vim.
]sto jump to next misspelled word.
z=to see suggestions for misspelled word under cursor.
zgto add misspelled word under cursor to your personal spellfile. Remember it as adding a good word.
zGto ignore the misspelled word under cursor for this session.
zwto mark correctly spelled word under cursor as a misspelling. Remember it as adding a wrong word.
The spellfile can be found in
~/.vim/spell/. For example, mine is named
Tried with: Vim 7.4 and Ubuntu 14.04