- I use the included vim-ruby bundle.
- I configured my rails/ruby configuration using a lot of the tips at: http://oldwiki.rubyonrails.org/rails/pages/HowtoUseVimWithRails
- Run rake make in the Command-T directory to build the c extension for Command-T
- <S-H> - Tab left
- <S-L> - Tab right
- <Leader>g - Creates public gist (works in command mode)
- <Leader>pg - Creates private gist (works in command mode)
- [num]<Leader>cc - Comment out num lines
- [num]<Leader>cm - Minimal comment out num lines
- [num]<Leader>c<space> - Toggle comment on num lines
- :Mm - Open markdown file in your browser
- Shift + Arrow Keys - buffer resizing mappings
- go/gO - insert blank lines without going into insert mode
- gs - open db/schema.rb
- gr - open config/routes.rb
- <Leader>dd - delete all buffers
- Y - Yank from the cursor to the end of the line
- vv - select the lines which were just pasted
- Control + l in insert mode - shortcut for =>
- Control + n - Open nerd tree
- S + - surround highlighted code with tags. (t adds <)
- <Leader>be (normal open) or
- <Leader>bs (force horizontal split open) or
- <Leader>bv (force vertical split open)
Plugins I use on the daily
What an amazing gist.