.vim and .vimrc for setting up environment.
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
Set up Vundle:
$ git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Install plugins:
$ vim ~/.vimrc
In VIM:
:PluginInstall
Install development tools and CMake:
$ sudo apt-get install build-essential cmake python-dev
Compiling YCM: Refer to YCM Official Manual
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.
There is a cool config repo here, which supports nested tmux sessions. This is really helpful...