Skip to content
Kyle Stevens edited this page Jan 8, 2014 · 14 revisions

Cheat Sheet

The meaning of all the different vimrc map options

Delete all trailing whitespace (at the end of each line) with:

:%s/\s\+$//
  • :e - will reload the file. Use ! to force if changes have been made.

  • :set [no]list - show/hide whitespace

  • :set [no]number - show/hide line numbers

Jumping

  • Press Ctrl-O to jump back to the previous (older) location.
  • Press Ctrl-I (same as Tab) to jump forward to the next (newer) location.

Ctags

  • Press Ctrl-] to go to definition.
  • Press Ctrl-T to jump back to the last tag.

Fugitive

  • :Gbrowse - open up current file in browser (GitHub).
  • :Git [arbitrary command] - self explanatory.
  • :Gstatus - show current status
Clone this wiki locally