This repository contains my vim settings.
Setup:
cd
git clone [email protected]:wangzhen127/dotvim.git .vim
cd .vim
git submodule update --init # Get Vundle.vim
ln -sf ~/.vim/vimrc ~/.vimrc # Link vimrc
ln -sf ~/.vim/gvimrc ~/.gvimrc # Link gvimrc
mkdir -p ~/.vim-tmp # For backup and swap files
vim +PluginInstall +qall # Install plugins
# ag --ignore currently seems to have problems. Use global ~/.agignore file.
echo .git >> ~/.agignore
echo .svn >> ~/.agignore
echo .hg >> ~/.agignore
# cd bundle/YouCompleteMe
# ./install.py --clang-completer --tern-completer
# cd ../../
# For quickopen, need to add the targe project to index from command line.
# See https://github.com/natduca/quickopen
For using solarized color scheme in terminals:
- Mac iTerm2: https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized
- Ubuntu GNOME Terminal:
Config Solarized color scheme for Ubuntu GNOME Terminal:
rm ~/.solarized -rf
mkdir ~/.solarized
cd ~/.solarized
git clone https://github.com/seebi/dircolors-solarized
ln -sf ~/.solarized/dircolors-solarized/dircolors.256dark ~/.dircolors
eval `dircolors ~/.dircolors`
cd ~/.solarized
git clone https://github.com/Anthony25/gnome-terminal-colors-solarized.git
cd gnome-terminal-colors-solarized
./install.sh # Choose dark color scheme.