- Install VIM74:
-
Remove the installed old version:
$ sudo apt-get remove vim vim-runtime gvim
-
Download VIM74:
$ hg clone https://code.google.com/p/vim/
-
Install prerequisite libraries:
$ apt-get install ncurses-dev build-essential mercurial python-dev
-
Build Vim from sources:
$ cd ~/vim/src $ make distclean $ # No slash behind "config" $ ./configure --with-python-config-dir=/usr/lib/python2.7/config --enable-pythoninterp -disable-gui --without-x $ make $ sudo make install
- Edit .vimrc:
- The .vimrc is stored by. Just put it in $HOME
- Install Vundle(Plugin Manager):
-
Set up Vundle:
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
-
Install plugins:
$ vim ~/.vimrc
-
In VIM:
:PluginInstall
- Install YCM:
-
Install development tools and CMake:
$ sudo apt-get install build-essential cmake python-dev
-
Compiling YCM: Refer to YCM Official Manual
- Customise:
-
Install CSApprox: (which make gvim-only colorschemes work in terminal vim)
-
Download:
-
unzip it in ~/.vim
-
Edit ~/.vimrc
set t_Co=256
-
Now you could see background in terminal vim.
-
-
Install terminal fonts(this font is compatible with vim-airline):
-
Download fonts-master:
-
Run ./install.sh in this package
-
Edit ~/.vimrc(Integrate with powerline font)
let g:airline_powerline_fonts = 1
-
Change terminal font to "Powerline" Fonts.
-
- Install vim
- Install vundle
- Install plugins via vundle
- Install powerline, powerline-vim, powerline-font via pacman
There is a cool config repo here, which supports nested tmux sessions. This is really helpful...