TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Is there a way to configure Vim so that it only checks spelling in the text regions of TeX files?

share|improve this question
up vote 11 down vote accepted

With the vim-latexsuite spell-checking works fine. Since it makes typing latex files a lot easier and faster I can only recommend it to every LaTeX-writing vim user.

share|improve this answer
The screenshots show only gvim. Does it offer usefull functionaility with regular vim? – Bernhard Apr 9 '14 at 7:38
@Bernhard I don't see a reason for it not to work in vim. – Caramdir Apr 9 '14 at 19:20
@Caramir: It is specifically showing menus and submenus. Do you have first hand experience with it? – Bernhard Apr 9 '14 at 21:14
@Bernhard You don't need to use the menus. All shortcuts (and the spell-checking enhancements) should work in vim as well. You just need to remember the commands instead of being able to click on them. Personally, I use gvim, but rarely actually use the menus. – Caramdir Apr 9 '14 at 23:09

Use the project specific dictionary for latex given at http://www.vim.org/scripts/script.php?script_id=499. It will remove all the keywords from being marked by vim's spellchecker.

share|improve this answer
Could you provide a more specific pointer? This seems to be to an old spell checking package (not the built-in one), and I can't locate anything very TeX-specific in the files. – András Salamon Aug 10 '10 at 17:27

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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