Install oh-my-zsh
$ sudo apt-get install zsh
$ wget --no-check-certificate http://install.ohmyz.sh -O - | sh
$ chsh -s `which zsh` #change your shell to zsh
Install and config tmux
$ sudo apt-get install tmux
$ vim .tmux.conf
Setup terminal dircolors
$ git clone git://github.com/seebi/dircolors-solarized.git
$ cp ~/dircolors-solarized/dircolors.256dark ~/.dircolors
$ eval 'dircolors .dircolors'
$ source .bashrc
Setup terminal color:solarized
$ git clone git://github.com/sigurdga/gnome-terminal-colors-solarized.git
$ cd gnome-terminal-colors-solarized
$ ./set_dark.sh
Install vundleInstall vundle
$ git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle
Copy my_vimrc to ‘/etc/vim/vimrc’
[my_vimrc]: https://github.com/EthanZeng1992/my-config-file/blob/master/my_vimrc
Move solarized.vim to ‘/.vim/colors/’
[solarized.vim]: https://github.com/EthanZeng1992/my-config-file/blob/master/solarized.vim
Config vim in tmux color: solarized
alias tmux="TERM=screen-256color-bce tmux" #Add this line to .zshrc
set -g default-terminal "screen-256color" #add this line to .tmux.conf
Comment these line in: < .vim/bundle/neocomplcache/plugin/neocomplcache.vim >
if v:version < 702
echohl Error
echomsg 'neocomplcache does not work this version of Vim (' . v:version . ').'
#echohl None
#finish
#eseif $SUDO_USER != '' && $USER !=# $SUDO_USER
# \ && $HOME !=# expand('~'.$USER)
# \ && $HOME ==# expand('~'.$SUDO_USER)
#echohl Error
#echomsg 'neocomplcache disabled: "sudo vim" is detected and $HOME is set to '
# \.'your user''s home. '
# \.'You may want to use the sudo.vim plugin, the "-H" option '
# \.'with "sudo" or set always_set_home in /etc/sudoers instead.'
echohl None
finish
endif
http://blog.csdn.net/angle_birds/article/details/11694325
http://happycasts.net/episodes/41
https://gist.github.com/tsabat/1498393
http://rhnh.net/2011/08/20/vim-and-tmux-on-osx
https://geakit.com/lilydjwg/dotvim/commit/eeae45ffcb380b6a8d5643f8a3c052c61bbf694e