vim7's spelling features
Published: Wednesday, Dec 26, 2007 Last modified: Monday, Dec 9, 2024
Spell checking with british English dictionary:
:setlocal spell spelllang=en_gb
A convienance bind:
map <F8> :setlocal spell spelllang=en_gb<CR>
Highlighted words are probably incorrect.
]s
move to next spelling errorz=
spelling suggestion1z=
correct to most likely correction (same asz=
and hitting 1)
Bind to backspace for your .vimrc:
noremap <BS>, <ESC>:set spell<CR>$[s1z=:set nospell<CR>