## vi cheatsheet

  • ~~~~ command mode #roughly ranked
  • cw — wipe out from cursor to end of word and puts you into insert mode
    • c2w or 2cw
  • capital O — open new line above cursor
  • Ctrl-R to re-do
  • A — to append at END of current line
  • R — Overwrite characters until end of line. Useful if the replacement content is similar to original?
  • C — wipe out from cursor to END of line and puts you into insert mode
  • :e another/file — to load another file
  • :e # — to switch to “the other file
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s