Skip to content

Instantly share code, notes, and snippets.

@darklight721
Created December 4, 2015 05:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save darklight721/03c7ee5f07ac7ded16e8 to your computer and use it in GitHub Desktop.
Save darklight721/03c7ee5f07ac7ded16e8 to your computer and use it in GitHub Desktop.
vi quick tips
# Motion commands
h - move left
j - move down
k - move up
l - move right
w - move to next word
b - move to beginning of word
e - move to end of word
^ - move to beginning of current line
$ - move to end of current line
H - move to top of screen
M - move to middle of screen
L - move to bottom of screen
# Deleting
dd - delete current line
D - delete to the end of line
# Inserting
I - insert before line
A - append after line
o - open a new line after current line
O - open a new line before current line
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment