a .vim configuration by kai.conragan@gmail.com
This is a Vim configuration for a web-development orientated workflow. Specifically, if you spend most of your time writing HTML, CSS, and JavaScript, you might be able to find something useful here.
This configuration relies on a few critical pieces:
- Solarized
The most thoughtful color scheme I've ever seen. I used to obsess over color schemes, but now I just use this one by default, thanks to the wonderful work of Ethan Schoonover. Highlights include sixteeen color palette designed for use with terminal and gui apps, CIELAB lightness relationships, and both dark and light theme options.
See http://ethanschoonover.com/solarized - Vundle
The most magical bundle manager in the world.
See https://github.com/gmarik/vundle - PeepOpen
A file navigation application that works with with not only Vim, but Textmate and others as well. Provides fuzzy search, so you can identify files by typing names, paths, and other metadata.
See http://peepcode.com/products/peepopen - DroidSansMono
A wonderful coding font. I use a custom version that adds slashes to zeroes to help distinguish them from non-numeric characters.
See http://www.cosmix.org/software/
- Clone repo:
git clone git://github.com/kconragan/dotvim.git ~/.vim
- Create a symlink to ~/.vimrc:
ln -s ~/.vim/vimrc ~/.vimrc
- Go to your .vim directory:
cd ~/.vim/
- Install Vundle:
git clone http://github.com/gmarik/vundle.git bundle/vundle
- Download and install DroidSansMonoSlashed
- Download and install PeepOpen Note: this is optional and only if you're on a Mac with Snow Leopard or higher. This configuration works just fine without PeepOpen.
- Launch Vim
- Type
:BundleInstall
- Grab a cup of coffee, it should take 2-3 minutes depending on your network connection
- Restart Vim (best), or re-source your vimrc by typing:
: source ~/.vimrc
(if you're in a hurry) - Enjoy
Note to self: set git remote set-url origin git@github.com:kconragan/dotvim.git
on fresh clone
- When installing a new Bundle via Vundle (
:BundleInstall
), snipMate stops responding upon completion until restarting Vim.
- Explore vim-fugitive
- Explore ack
- Explore repeat
- Explore lusty
- Explore tabular
- Explore Lokaltog/vim-powerline