I tried to install vim plugin on my Windows OS but it don't work. fist I'm going to show you my vim directoris architecture then to show you my _vimrc.vim file:
C:\Program Files (x86)\Vim >
17/07/2017 16:15 <DIR> vim80
17/07/2017 17:45 <DIR> vimfiles
17/07/2017 17:50 200 _vimrc
inside vim80 no changes added.
C:\Program Files (x86)\Vim\vimfiles
17/07/2017 17:47 <DIR> autoload
17/07/2017 16:52 <DIR> bundle
17/07/2017 17:05 <DIR> config
17/07/2017 16:42 <DIR> plugin
And this is how look like my ./vimfiles directorie Inside I created 4 directorie first one: ./autoload for the pathogen symlink,
C:\Program Files (x86)\Vim\vimfiles\autoload
17/07/2017 17:12 <SYMLINK> pathogen.vim [C:\Program Files (x86)\Vim\vimfiles\plugin\pathogen\autoload\pathogen.vim]
As you see pathogen plugin is inside ./plugin/pathogen/autoload/pathogen.vim Then I creat a ./bundle directories for all the other plugins like NERDTree :
C:\Program Files (x86)\Vim\vimfiles\bundle
17/07/2017 16:52 <DIR> nerdtree
Then this is my vimrc.vim file:
set nocompatible
" Initialisation de pathogen:
execute pathogen#infect()
execute pathogen#helptags()
runtime! $VIM/vimfiles/config/**/*.vim
I don't know why but when I try to use :NERDTree
this message appear:
E492: Unknow command line :NERDTree
Please if someone can help me? Thank you