If you have a spell checker installed on your system, vim will usually find it. If not you will need to install ispell, aspell, hunspell or a similar system as well as support files for the language you want to check.
Depending on what fits your situation you could look into customizing the filetype plugins (if you want tabstop settings by filetype) or enable modelines and accept the accompanying security risks if the settings are specific to individual files.
For the filetype approach, as an example I have the following in ~/.vim/after/ftplugin/python.vim:
Good news, this is already part of Vim. Turn on syntax highlighting (:syntax enable) and this should be taken care of automatically with the default syntax files packaged with any reasonably recent vim distribution. See :help spell-syntax for an explanation. The short version is that syntax files can use @Spell and @NoSpell to specify where spell checking should or should not occur.
Best Answer
If you have a spell checker installed on your system, vim will usually find it. If not you will need to install
ispell
,aspell
,hunspell
or a similar system as well as support files for the language you want to check.Here is an answer on StackOverflow with keybindings and also a quick little tutorial for usage.