On Jun 07, 2011 at 12:24 PM -0400, Eric Weir wrote:
Next up is finding out about spellchecking and formatting of documents
for printing.
Assuming you want the spell checker on all the time, add this in your
.vimrc:
set spell spelllang=en
If you want it on for only certain document types, you could instead add
a line like the following:
au FileType mail,markdown,tex setlocal spell spelllang=en
Obviously, add in the appropriate file types. A short list of commands
that you'll probably want follow.
- ]s - next misspelled word
- [s - previous misspelled word
- zg - add word to dictionary
- z= - suggest correction
For more information on the spell checker included with vim 7.3, try
`:help spell`.
--
You received this message from the "vim_mac" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php