top of page

To spellcheck in Vim


Summarizes what I always refer to in

To spellcheck in Vim type:

:setlocal spell spelllang=en_us

To correct the spelling of a word use:

]s Move to next misspelled word after the cursor.

[s Like "]s" but search backwards z= For the word under/after the cursor suggest correctly spelled words

Other resources: Jake Harding has a good write up on "Using Spell Check in Vim" here:


bottom of page