8/20/2006
vim 7.0 tabs and spellcheck
Using tabs to work on multiple files simultaneously
To open several files at once and put each in a separate tab, use the
Check out the full
To turn it on and off:
To turn it on automatically for certain types of files, add this to the
Then create a directory
Once turned on, use -p option and all the file names on the command line while launching vim to vim -p.
vim documentation on tabs. The essential commands are the following:
:tabnew
:tabe[dit]
:tabnew {file}
:tabe[dit] {file}
:tabc[lose][!]
:tabc[lose][!] {count}
:tabo[nly][!]
:tabn[ext]
:tabp[revious]
:tabn[ext] {count}
{count}gt
:tabfir[st]
:tabl[ast]
:tabm[ove] [N]
:tabs
The new integrated spellcheck feature in
vim 7.0
:set spell
:set nospell
.vimrc file:
autocmd BufNewFile,BufRead *.txt,*.tex,README set spell
~/.vim/spell for vim to hold personal word lists.
]s and [s to move to the next and previous misspelled words. Here is the vim documentation for spell checking.