vim – :PluginInstall ist kein Editor-Befehl?
世界只因有你
世界只因有你 2017-05-16 16:39:08
0
2
2888

Verwenden Sie vundle, um Plug-ins unter Windows zu installieren. Beim Ausführen von „PluginInstall“ wird angezeigt, dass es sich nicht um einen Editorbefehl handelt

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
世界只因有你
世界只因有你

Antworte allen(2)
Peter_Zhu

set rtp+=~/vimfiles/bundle/Vundle.vim
估计是这个目录不对。放到.vim(他文档里说的)下试试。

世界只因有你

我也是一样的问题,我把路径都设成绝对路径就好了

set rtp+=D://Programs/Vim/vimfiles/bundle/Vundle.vim/
call vundle#begin('D://Programs/Vim/vimfiles/')
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage