Nov 20, 2009

Spellcheck in Vim

Turns out Vim 7 and higher has a built-in spellcheck. To turn it on, do:
:set spell
It's a bit annoying for code, but maybe it will help people spell things properly in their comments ;) It's also really good for LaTeX documents (if you're old school and do them by hand like I do) since those actually do have real writing in them which should definitely be spellchecked.

UPDATE: The suggestions for this spellcheck are quite odd...somehow it suggests for "homoskedasticity" you should put "insecticides". Strange.

No comments: