Home

Awesome

Slava's vim setup

This is my setup I've been using for the last 6 month or so. This configuration wasn't meant to be used on remote hosts where you edit your configs over ssh, because nobody does it. Likely, this config can be used for day-to-day development if you are brave enough to use someone's config on your Vim (I am not). However, it can act as a good learning material to someone.

Features

Weird visual things you might want to change

Weird bindings you might want to change

What sucks

I will be honest, the following things suck and I didn't fix them yet:

Feature requests

Dependencies

Latest MacVim works well as of 7.4 patch around August 2013

Installation

First of all be sure to have a compatible version of Vim. The easiest way to install a full-featured Vim on Mac OS X with homebrew is to run brew install macvim -v --override-system-vim --with-lua --with-luajit in your terminal. (Instructions for other platforms satisfying the dependencies are welcome)

After you can run the bash script from this repo which will take care of everything but will do something terrible if you already have any of .vim or .vimrc. But it works great on a clean set up:

$ curl https://raw.github.com/Slava/vimrc/master/install-script.sh > install-script.sh
$ bash ./install-script.sh

Manual installation

Download .vimrc file.

$ curl https://raw.github.com/Slava/vimrc/master/.vimrc > ~/.vimrc

Install neobundle

$ mkdir -p ~/.vim/bundle
$ git clone https://github.com/Shougo/neobundle.vim ~/.vim/bundle/neobundle.vim

Open vim, install all the packages, quit vim:

$ vim -c "NeoBundleInstall" -c "q"

Finish installation by installing tern-meteor:

$ cd ~/.vim/bundle/tern_for_vim/
$ npm install
$ curl https://raw.github.com/Slava/tern-meteor/master/meteor.js > node_modules/tern/plugin/meteor.js