Thanks to these guys:
- 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 clone https://github.com/mislav/vimfiles ~/.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.
- 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
- markdown
- rails
- haml
- scss
- coffee-script