mvim: cheat sheet (github: skwp/dotfiles)

Posted . Visible to the public.

Shortcuts

  • NERDTree - Cmd + Shift + N
  • current file tree - Ctrl + \
  • file finder - ,t

Search and Replace

replace next word

:s/word_replaced/word_replacement/

replace all in current file

:%s/word_replaced/word_replacement/ - replace all in current file

replace all in current file, confirming each replacement

:%s/word_replaced/word_replacement/gc

padi
Last edit
Posted by padi to Dev (2013-06-27 03:58)