On-the-fly Spell-Checking

Vim has a built-in spell checker since version 7. To activate it on the current file, enter

:set spell spelllang=en

on the Vim command line, or put it in your .vimrc file:

autocmd FileType xml,docbk set spell spelllang=en