安装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在前面添加如下内容:
![](http://imgsrc.baidu.com/forum/w%3D580/sign=83d052e989b1cb133e693c1bed5556da/d44924ee3d6d55fb05834f2069224f4a21a4dd4a.jpg)
然后重新启动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在前面添加如下内容:
![](http://imgsrc.baidu.com/forum/w%3D580/sign=83d052e989b1cb133e693c1bed5556da/d44924ee3d6d55fb05834f2069224f4a21a4dd4a.jpg)
然后重新启动gVim并运行:
:PluginInstall
完成插件的最后安装