Skip to content

Instantly share code, notes, and snippets.

@eliangcs
Last active August 29, 2015 14:10
Show Gist options
  • Save eliangcs/35e9bab4a647d262ff86 to your computer and use it in GitHub Desktop.
Save eliangcs/35e9bab4a647d262ff86 to your computer and use it in GitHub Desktop.
My Vim cheatsheet

Insert

  • a: after cursor
  • i: before cursor
  • A: after line
  • I: before line
  • o: add a new line below
  • O: add a new line above

Select

  • v: select mode
  • V: select line

Copy/paste

  • y: copy selection
  • yy: copy line
  • p: paste after cursor
  • P: paste before cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment