This repo is deprecated, now my vimrc is managed in my dotfiles repository.
This is my Vim configuration for Unix systems. Plugins managed by Vundle.
- Vundle
- UltiSnips
- snipMate & UltiSnip Snippets
- YouCompleteMe
- fugitive.vim
- Solarized Colorscheme for Vim
- Gutentags
For this configuration to work, you will need to have Vim with autocmd support and satisfy the requirements of all the plugins. Follow the above links to learn more about each plugin's dependencies.
These instructions assume you have Vim version 7.4, as vimrc is placed inside of .vim. If you have an older version and cannot update, make sure to rename vimrc to .vimrc and move it to your home directory.
Back up your current .vim:
mv ~/.vim ~/.vim.bak
Clone this repository and Vundle:
git clone https://github.com/hhu94/.vim.git ~/.vim
git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
Install plugins:
vim +PluginInstall +qall
Pre-compile YouCompleteMe with support for C-family languages, check out https://github.com/Valloric/YouCompleteMe#installation for options to support other languages:
~/.vim/bundle/YouCompleteMe/install.py --clang-completer
Done! Happy vimming!
If terminal Vim's colors are messed up (GVim's should be fine), it's because your terminal isn't running on the Solarized theme. In this case you have two options:
- Open your vimrc and uncomment the following line in the Theme section:
" let g:solarized_termcolors=256
. - Get rid of the Solarized theme altogether and use a different theme. To do so, simply remove the plugin from the Vundle section in your vimrc and change the Theme section accordingly.