Jason Turley's Website

vim is my spell checker

All of the content for this website is written in vim (despite cat being the best text editor). Being a human, I make a lot of spelling mistakes and typos.

I used to Google words to find the correct spelling.

Then I learned about vim’s builtin spell checking system, and no longer need to leave the comfort of my text editor!

Highlight all misspelled words in a document with the following command:

:set spell

move your cursor forward or backward to a misspelled word, type either ]s or [s.

next, type z= to find suggestions for the correct spelling.

Spell checking in vim can take a while to get used to (like everything else in vim). But once you’ve got the hang of it, fixing misspelled words is much faster than in other word processors like Microsoft Word or Google Docs.

Some good resources:

#vim