(Move categories to tip template) |
(Changed category) |
||
Line 10: | Line 10: | ||
|rating=-1/14 |
|rating=-1/14 |
||
|category1=Spell Checking |
|category1=Spell Checking |
||
− | |category2= |
+ | |category2=Abbreviations |
}} |
}} |
||
Vim's abbreviation feature also doubles as an on-the-fly spell checker. Simply create abbreviations for words you misspell often and Vim will fix them for you: |
Vim's abbreviation feature also doubles as an on-the-fly spell checker. Simply create abbreviations for words you misspell often and Vim will fix them for you: |
Revision as of 01:05, 29 November 2009
Tip 1382 Printable Monobook Previous Next
created November 9, 2006 · complexity basic · author Peter Hodge · version 5.7
Vim's abbreviation feature also doubles as an on-the-fly spell checker. Simply create abbreviations for words you misspell often and Vim will fix them for you:
iabbrev mispell misspell iabbrev funciton function iabbrev functiton function iabbrev fucntion function iabbrev funtion function iabbrev erturn return iabbrev retunr return iabbrev reutrn return iabbrev reutn return iabbrev queyr query iabbrev htis this iabbrev foreahc foreach iabbrev forech foreach
Comments
Alternately:
set dict=/usr/dict/words set spell
and turn completion on.