Is there a way to spell check a file using vim?
If you have a spell checker installed on your system, vim will usually find it. If not you will need to install
hunspell or a similar system as well as support files for the language you want to check.
If you want to toggle spellcheck on and off, you can add something like the following to your .vimrc:
map <F4> :setlocal spell spelllang=en_gb<CR> map <F5> :set nospell<CR>