Vim


Vim Cheat Sheet


Some of these commands and shortcuts are based off my own .vimrc file, so it may not work for your setup when you try performing some of the below commands.

MacVim/Gvim

  • :Gblame
  • :Ag count app/controllers
  • :%s/word/love/gc
  • :Ag #navigation-wrapper app/assets/stylesheets
  • Nerd Tree - space + n
  • Fuzzy Search - space + t

Macros

  • q w (then do the commands you'd like repeated)
  • hit q again to stop recording
  • @w (to initiate most recent macro)
  • ...

Read Blog Post