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 downloaded the Rails vim plugin from here.

One of the file that it contain is a doc file that will be extracted to ~/.vim/doc/rails.txt

How do I open the content of this help file in vim ?

I tried :help rails to no avail.

share|improve this question
up vote 16 down vote accepted

After installing a new help file into ~/.vim/doc, you need to rebuild the help tags file:

:helptags ~/.vim/doc

Then your :help rails command should work.

share|improve this answer
awesome. thanks! – ryanprayogo Mar 21 '11 at 21:49

garyjohn's answer is right, but I just want to mention that pathogen provides an easy way to run helptags for each plugin (note the case):

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.