vim - :PluginInstall 不是編輯器指令?
世界只因有你
世界只因有你 2017-05-16 16:39:08
0
2
2879

windows上 用vundle 來安裝插件,已經安裝配置了 vundle, 執行 :PluginInstall 時 提示 不是編輯器指令

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

全部回覆(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/')
熱門教學
更多>
最新下載
更多>
網站特效
網站源碼
網站素材
前端模板