Skip to content

Latest commit

 

History

History
56 lines (50 loc) · 2.09 KB

README.md

File metadata and controls

56 lines (50 loc) · 2.09 KB

Notice

This repo is deprecated, now my vimrc is managed in my dotfiles repository.

.vim

This is my Vim configuration for Unix systems. Plugins managed by Vundle.

Included Plugins

Dependencies

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.

Installation

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!

Troubleshooting

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.