我很難讓Vund for Vim工作(我在Ubuntu 14.04上)。這裏的相關部分從我的.vimrcVundle - E492:不是編輯器命令:PluginInstall
4 " For Vundle$
5 filetype off$
6 set rtp+=~/.vim/bundle/vundle$
7 call vundle#rc()$
8 $
9 " Let Vundle manage Vandle$
10 Plugin 'gmarik/vundle'$
11 $
12 Plugin 'honza/vim-snippets'$
13 Plugin 'bling/vim-airline'$
14 Plugin 'tpope/vim-fugitive'$
15 Plugin 'tpope/vim-rails.git'$
16 Plugin 'tomtom/tcomment_vim'$
17 Plugin 'altercation/vim-colors-solarized'$
18 Plugin 'tomasr/molokai'$
19 Plugin 'vim-ruby/vim-ruby'$
20 Plugin 'tpope/vim-surround'$
21 Plugin 'jiangmiao/auto-pairs'$
22 Plugin 'ervandew/supertab'$
23 Plugin 'kchmck/vim-coffee-script'$
24 Plugin 'kien/ctrlp.vim'$
25 Plugin 'skalnik/vim-vroom'$
26 Plugin 'tpope/vim-dispatch'$
27 $
28 call vundle#end()$
29 $
30 filetype plugin indent on$
爲什麼它拋出一個錯誤E492: Not an editor command: PluginInstall
?
這篇文章修復了我的問題;克隆到插件目錄https://stackoverflow.com/questions/30017366/vim-error-e492-not-an-editor-command-plugininstall – eamoc