安装gVim:
sudo apt-get install vim-gtk
Ubuntu15.04已经提供了youcompleteme等插件,可以直接安装:
sudo apt-get install vim-youcompleteme vim-syntastic vim-fugitive
tagbar要用到ctags:
sudo apt-get install exuberant-ctags
CtrlSF需要先安装ag:
sudo apt-get install silversearcher-ag
安装matchit插件:
$ sudo apt-get install vim-addon-manager vim-scripts
$ vim-addons install matchit
通过Vundle安装其他插件
下载Vundle:
mkdir ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
然后编辑~/.vimrc在前面添加如下内容:

然后重新启动gVim并运行:
:PluginInstall
完成插件的最后安装
sudo apt-get install vim-gtk
Ubuntu15.04已经提供了youcompleteme等插件,可以直接安装:
sudo apt-get install vim-youcompleteme vim-syntastic vim-fugitive
tagbar要用到ctags:
sudo apt-get install exuberant-ctags
CtrlSF需要先安装ag:
sudo apt-get install silversearcher-ag
安装matchit插件:
$ sudo apt-get install vim-addon-manager vim-scripts
$ vim-addons install matchit
通过Vundle安装其他插件
下载Vundle:
mkdir ~/.vim/bundle
git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
然后编辑~/.vimrc在前面添加如下内容:

然后重新启动gVim并运行:
:PluginInstall
完成插件的最后安装