rbriank's vim configuration
Thanks to these guys:
My configuration uses Pathogen and git submodules. (But you don't need to care about any of that.)
Prerequisites: ruby, git.
- Move your existing configuration somewhere else:
mv ~/.vim* ~/.gvim* my_backup
- Clone this repo into ".vim":
- Go into ".vim" and run "rake":
cd ~/.vim && rake
This will install "~/.vimrc" and "~/.gvimrc" symlinks that point to files inside the ".vim" directory.
To add a new plugin: $ cd ~/.vim/ $ git init
git submodule add https://github.com/msanders/snipmate.vim.git bundle/snipmate
- 2 spaces, no tabs
- incremental, case-insensitive search
- 'Leader' character mapped to "," (comma)
,fopens file search via :CommandT plugin
,,switches between two last buffers
<C-j/k/h/l>switches between windows (no need to prepend
- cursor keys for movement disabled!