Is there a built-in command or plugin available to trigger spell checking over the entire current buffer, prompting me for each word it detects to either ignore, add to dictionary, or correct spelling?

I've been using ]s to skip through spelling suggestions and zg or z= to add to dictionary or suggest corrections, but when a buffer as a lot of instances of the same spelling it's kind of annoying skipping past every instance, especially when it's code or config files that have a lot of things that aren't misspelled but don't belong in the dictionary, like variable names or command line gibberish.

  • 4
    I've been happy with Ingo Karkat's SpellCheck.vim plugin, available at github.com/vim-scripts/SpellCheck and normally at vim.org/scripts/script.php?script_id=3844, except that vim.org is down at the moment.
    – garyjohn
    Commented Jul 20, 2015 at 5:34
  • 5
    You could add the words you want to skip to the internal-wordlist, with zG. Since the list is lost when you exit Vim, it's similar to 'skip', and Vim won't ask you again to correct the same word, in the same session. Another way would be to teach Vim to only spell-check by syntax, i.e. in certain regions, and ignore the others.
    – VanLaser
    Commented Jul 23, 2015 at 16:18

1 Answer 1


You can use the LanguageTool plugin to add a double functionality, it provides not only spell check but also grammar check using the external java tool. It checks the entire buffer and displays an error list buffer at the bottom. I find it quite useful.

I hope this helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.