简体   繁体   中英

gvim not recognizing NERDTree as an editor command

I'm using gvim and following the windows setup steps of vundle: https://github.com/gmarik/Vundle.vim/wiki/Vundle-for-Windows

After the steps, I found the nerdtree plugin is successfully installed, I can find it under ~/vimfiles/bundle.

And I customize the _vimrc file like below:

set rtp+=~/vimfiles/bundle/Vundle.vim/
let path='~/vimfiles/bundle'
call vundle#begin(path)

Plugin 'scrooloose/nerdtree'

So I restarted gvim, and type :NERDTree, the editor is raising the error:E492 Not and editor command: NERDTree

What I'm doing wrong here?

您需要在所有插件声明之后call vundle#end() ,以便vundle实际修改您的运行时路径。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM