I'm trying to install NERDTree (the Vim plugin) on Windows 7. I created a .vim directory on my user folder (C:/Users/Username) and extracted the plugin there. I've run :helptags ~.vim\doc and :helptags [full-path]. Closed and reopened Vim.
But when I try:
:NERDTree
the editor says:
E492: Not an editor command: NERDTree
How should I do it?
Windows doesn't use the '.vim' style directories. Instead you should put addons in directory structure branching off a vimfiles directory at one of two places:
c:\users\username\vimfiles\
or
c:\program files (x86)\vim\vimfiles\
For a little more help you can do :h runtimepath
, and you could even modify runtimepath to make it work with your .vim directory, but safest route is just to go with the default vimfiles name oon Windows.