Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I just created a .txt file inside .vim/doc for documenting one little function of my .vimrc, ran :helptags ~/.vim/doc and apparently the whole vim help system went wild. Now, if I open for example :help help, I see things like:

This also works together with other characters, for
example to find help for CTRL-V in Insert mode: >
      :help i^V

(notice the < and > characters). I can also see the ~ at the end of headlines and the modeline at the end of the help page (thinks like vim:tw=78:ts=8:ft=help:norl:).

I have no idea about what happens or how to fix it. Any clue?

share|improve this question
If it was working as expected before, running :helptags should not have caused this issue. Is there any more information you can provide? Have you restarted Vim? What version of Vim? – Heptite Nov 24 '11 at 1:34
Vim version: VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Jun 24 2011 20:00:09) Compiled by – Relax Nov 24 '11 at 1:38
Yes, I restarted vim, but still the same. I don't know what else can I tell you... the odd thing is that vim is not reading the help modeline. I don't know what could happened. – Relax Nov 24 '11 at 1:42
Well, another clue: I just notice that with the gui version of macvim the help pages show properly. – Relax Nov 24 '11 at 1:43
What does ":verbose set modeline? modelines?" (with the question marks) show? If you see "nomodeline" or "modelines=0" that would be why Vim is ignoring the help file modelines. – Heptite Nov 24 '11 at 2:19

I just created a .txt file inside .vim/doc for documenting one little function of my .vimrc

So you modified .vimrc as well, right? Then run :messages and see if there are any errors reported when your .vimrc is loaded.

If that does not help, try running with -V (-V for verbose) so you have better clue what's going on.

share|improve this answer

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.