1 找到配置文件
.vimrc
通常在ubuntu下面是没有自动生成的 .vimrc 文件,复制全局vimrc 到 个人的home文件夹下
cp /usr/share/vim/vimrc ~/.vimrc
这里采用用 Vundle 管理 vim插件 插件
2.安装Vundle
可以按照我的搬过来的东西做,也可以直接看官方文档
https://github.com/gmarik/vundle
ec@ubuntu:~$ cd .vim/
ec@ubuntu:~/.vim$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
编辑~/.vimrc
最后内容如下:
" All system-wide defaults are set in $VIMRUNTIME/debian.vim (usually just
" /usr/share/vim/vimcurrent/debian.vim) and sourced by the call to :runtime
" you can find below. If you wi