If you are using windows, I recommend that you install your gVim
into a custom directory instead of under Program Files
or Program Files (x86)
directories.
This makes things a lot easier going forward.
For instance, in a location like this:-
Install gvim
in your user's home directory (e.g. C:\Users\whytheq\
) (where whytheq
is your user name) so it becomes C:\Users\whytheq\Vim73\
.
Then, create a _vimrc file (with no file extension) there as well with the following contents:
set nocp
call pathogen#infect()
syntax on
filetype plugin indent on
Next, create a folder under C:\Users\whytheq\Vim73
called vimfiles
with two subfolders beneath that, autoload
and bundle
.
Then, download the pathogen.vim
file and moved it into the autoload
folder.