Thanks to these guys:
- Mislav,
- Gary Bernhardt,
- Drew Neil,
- Tim Pope,
- and the Janus project.
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":
git://github.com/rbriank/vimfiles.git ~/.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)
,f
opens file search via :CommandT plugin,,
switches between two last buffers<C-j/k/h/l>
switches between windows (no need to prepend<C-w>
)- cursor keys for movement disabled!
- ack
- command-t
- commentary
- endwise
- fugitive
- rails
- javascript
- ruby
- surround
- repeat
- syntastic
- vividchalk