I know there are multiple posts on this question but I have tried with no avail to get this simple part of Vim to work. I would like to get the pathogen plugin to work with Vim. As a few points, I am working on a Windows system. I have downloaded pathogen via github and have created the directories .vim and subdirectories autoload and bundle. My .vimrc is the default created with mkvimrc with:
call pathogen#infect()
syntax on
filetype plugin indent on
added to the bottom. Addressing other postings I have seen:
:set cp? = nocompatible
One area I am guessing is part of the issue is after I run :scriptnames I don’t get the .vim directory. I only get the Vim\.vimrc and vim73 directories. How do I address this? I have been at this a long time and apologize if this is obvious to others here.
On Windows the default location of the local user configuration is
$HOME/vimfiles. If your files are in$HOME/.vimthen you either need to move them tovimfilesor add.vimto your runtimepath in your .vimrc:Also, if Pathogen is in a subdirectory of
bundleyou will need to run it explicitly from there, since by default Vim will only look in~/.vim/. Put this in your.vimrcbefore thepathogen#infectcall: