This packaged vim setup is what I have been tweaking and working with for ages, and should require minimal effort to get working on a new machine.
Simple:
git clone git://github.com/fawcettc/dotvim.git ~/.vim
cd ~/.vim
./setup.sh
Note that if you currently have a ~/.vim, this is not going to work. Move it to a safe location and then proceed.
In order to get YouCompleteMe to work, you'll need
- vim 7.3.584 or later, compiled with Python 2 support
- python 2.7+ as a shared library, along with development headers
- CMake
If CMake finds the wrong compiler, python version, etc. during the YouCompleteMe install, you'll have to install it manually. Have a look at Valloric's FAQ, that should solve most common issues. I may fix some of the more common bugs (usually with YouCompleteMe) at some point.
There are a couple of strange things that will make you really angry for a bit, and then be awesome.
- Arrow keys are disabled in normal mode. What better time to learn hjkl than the present?
- tab will always insert 4 spaces. What's that, you actually want a tab? Ctrl-V
- Use jk in sequence instead of hitting escape. You will love it, trust me.
I'm happily benefiting from the following awesome plugins: