0
我在ubuntu 16.04的版本庫中安裝了VIM。並從 Link 安裝插件用於PHP中的網頁設計和Web開發。安裝Vim時出現錯誤插件
,但我得到這個錯誤:(錯誤的頭)
Error detected while processing /home/abolfazl/.vimrc:
line 7:
E117: Unknown function: vundle#rc
line 9:
E492: Not an editor command: Bundle 'gmarik/vundle'
Error detected while processing /home/abolfazl/vimrc/vimrc.vundle:
line 11:
E492:
Press ENTER or type command to continue
和我的〜/ .vimrc配置的頭:
"--------------------
" Use Vundle to manage bundles
"--------------------
set nocompatible " be iMproved
filetype off " required!
set rtp+=~/.vim/bundle/vundle
call vundle#rc()
Bundle 'gmarik/vundle'
source ~/.vim/vimrc.vundle
"--------------------
" General Settings
"--------------------
set bs=indent,eol,start
我認爲'Bundle'gmarik/vundle.vim''這一行需要更改爲'Plugin'VundleVim/Vundle.vim'',也許'source〜/ .vim/vimrc.vundle'也應該從.vimrc – zarak