[英]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 我正在使用gvim并遵循vundle的Windows设置步骤: 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. 完成这些步骤后,我发现nerdtree插件已成功安装,可以在〜/ vimfiles / bundle下找到它。
And I customize the _vimrc file like below: 我自定义_vimrc文件,如下所示:
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 所以我重新启动了gvim,然后键入:NERDTree,编辑器引发了错误:E492不是,并且编辑器命令是:NERDTree
What I'm doing wrong here? 我在这里做错了什么?
您需要在所有插件声明之后call vundle#end()
,以便vundle实际修改您的运行时路径。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.