Skip to content

Instantly share code, notes, and snippets.

@mikefowler
Last active August 29, 2015 14:08
Show Gist options
  • Save mikefowler/d5ae4445cd2c9001f319 to your computer and use it in GitHub Desktop.
Save mikefowler/d5ae4445cd2c9001f319 to your computer and use it in GitHub Desktop.
My own little Vim cheatsheet.

Navigation

  • ^ — Jump to the beginning of the current line
  • $ — Jump to the end of the current line
  • G — Go to end of file
  • 5G — Go to line 5

Buffers

  • bw — Close the current buffer
  • ls - List currently opened buffers
  • b2 — Open the buffer with number 2 (via :ls)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment