Turn on Vim’s Spell checker

vim.png

Every text editor needs spell checking correct? And even if you are a programer, your compiler might catch most things but it isn’t so when doing LaTeX.  Simply type:

:setlocal spell spelllang=en_us

and that should turn on spell-check and highlighting for incorrectly spelled words.

navigation:
]s – next misspelled word
[s – prev “

interaction:
zg – add misspelled word to system dictionary
zG – add misspelled word to buffer-local set of “good” words
zw – add word to ‘bad’ list
zW – add word to buffer-local ‘bad’ list
z= – view a numbered list of suggested spellings from which to choose for auto-replacement

side note: Maybe there’s a word list for php fn’s, since it seems to assume that when you’ve mistyped something, you obviously meant 0, “zero”, false and NULL simultaneously and chooses arbitrarily between them. This might prevent some headaches/suicides.

Related Posts

Comments are closed.