vim - :PluginInstall is not an editor command?
世界只因有你
世界只因有你 2017-05-16 16:39:08
0
2
2818

Use vundle to install plug-ins on windows. vundle has been installed and configured. When executing :PluginInstall, it prompts that it is not an editor command

set nocompatible              " be iMproved, required
filetype off                  " required

" set the runtime path to include Vundle and initialize
set rtp+=~/vimfiles/bundle/Vundle.vim
call vundle#begin()
" alternatively, pass a path where Vundle should install plugins
"call vundle#begin('~/some/path/here')

" let Vundle manage Vundle, required
Plugin 'gmarik/Vundle.vim'

" The following are examples of different formats supported.
" Keep Plugin commands between vundle#begin/end.
" plugin on GitHub repo

" All of your Plugins must be added before the following line

Plugin 'git://github.com/scrooloose/nerdtree.git'
Plugin 'git://github.com/scrooloose/nerdtree.git'

call vundle#end()            " required
filetype plugin indent on    " required
世界只因有你
世界只因有你

reply all(2)
Peter_Zhu

set rtp+=~/vimfiles/bundle/Vundle.vim
It is estimated that this directory is wrong. Put it under .vim (as mentioned in his documentation) and try it.

世界只因有你

I have the same problem, I just set the paths to absolute paths and everything is fine

set rtp+=D://Programs/Vim/vimfiles/bundle/Vundle.vim/
call vundle#begin('D://Programs/Vim/vimfiles/')
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!