#####for test code development by Gordon Gao 10/12/2012
install vim
and gvim
using pkgutil
install following plugins (all from Github)
- Pathogen
https://github.com/tpope/vim-pathogen
- NERDTree
https://github.com/scrooloose/nerdtree
- Powerline
https://github.com/altercation/vim-colors-solarized
- CtrlP
https://github.com/kien/ctrlp.vim
- vim-colors-solarized
https://github.com/altercation/vim-colors-solarized
Install patched Deja Vu font fro Powerline from
https://gist.github.com/1630581
to
/usr/X/lib/X11/fonts/TrueType
Don't forget to configure gnome-terminal to use patched Deja Vu font
Edit Powerline file to include total lines of file
~/.vim/bundle/vim-powerline/autoload/Powerline/Segment.vim
in line 24, from
Pl#Segment#Create('line.cur' , '$LINE %3l'),
to
Pl#Segment#Create('line.cur' , '$LINE %3l/%-3L'),
Get Solarized colorscheme for Powerline from
https://github.com/patricklewis/vim-powerline/blob/develop/autoload/Powerline/Colorschemes/solarized.vim
Configure gnome-termial with solarized color pallete with scripts from (remember to select "light" mode)
https://github.com/sigurdga/gnome-terminal-colors-solarized
Add ISU syntax highlighting from
https://gist.github.com/3878484
to
/export/home/gogao/.vim/syntax
Copy .vimrc
file from
https://gist.github.com/3871127
To
~/.vimrc
Add the following line into your shell rc file, e.g. .bashrc
, .zshrc
alias vim='/usr/bin/env TERM=xterm-color vim'
Congradulations! You are done!