I downloaded pathogen.vim from github and put it in \"autoload\" directory under ~/.vim. However now when I fire up gvim, and do :helptags, it says \"Argument required\". Th
helptags
is a vim command which has nothing to do with pathogen. The helptags
command in vim takes a directory as an argument where it will process .txt files and generate the tags file.
To tell if pathogen is loading correctly you should be able to attempt to :call pathogen#helptags()
. If running that manually does not fail, then pathogen is loaded (this is actually unnecessary if you are not getting an error when you start vim because your .vimrc
is already running these commands).
The next step for you to complete is to read the documentation provided here on how to install a plugin as a bundle. To summarize:
~/.vim/bundle
~/.vim/bundle/plugin-name/
. This may contain many files and directories (ftplugin, autoload, doc, etc.).If you're having problems with pathogen, just remember installing a bundle is not all that different than installing a plugin the normal way. The advantage is you get to keep all files and folders related to that specific plugin in their own directory. This allows you to manage each plugin individually and be confident you are only touching files related to that plugin.