Skip to content

Instantly share code, notes, and snippets.

@guipdutra
Created April 11, 2013 11:59
Show Gist options
  • Save guipdutra/5362819 to your computer and use it in GitHub Desktop.
Save guipdutra/5362819 to your computer and use it in GitHub Desktop.
Mapping for key to VIM refactoring
Extract to Method: Hit your <leader-key> then type rem
Rename Instance Variable: Hit your <leader-key> then type rriv
Rename Local Variable: Hit your <leader-key> then type rrlv
Extract Local Variable: relv
Extract to Let: Hit your <leader-key> then type rel
Extract Constant: Hit your <leader-key> then type rec
Convert Post Conditional: Hit your <leader-key> then type rcpc
Inline Temp: Hit your <leader-key> then type rit
Add Parameter: Hit your <leader-key> then type rap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment