How to open the doc file for a vim plugin

vimvim-plugins

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.

Best Answer

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.

Related Question