VIM internal spellchecker

In order to use VIM internal spellchecker just declare language used:

setlocal spell spelllang=en_us

And voila! All mispelled words will be highlighted by red background!

In order to add some words to dictionary, place cursor over such word and use "zg" command. Word will be marked as "correct" one. Looking at suggestions: "z=".

Pretty easy!

This entry was posted in en and tagged , . Bookmark the permalink.