Skip to content

Instantly share code, notes, and snippets.

@dompascal
Created February 8, 2014 19:53
Show Gist options
  • Save dompascal/8889210 to your computer and use it in GitHub Desktop.
Save dompascal/8889210 to your computer and use it in GitHub Desktop.
VIM - Shortcuts
i = insert at current location
a = insert after current location (append)
I = insert AT START of current line
A = insert AFTER END of current line
o = insert line below current line (open)
O = insert line ABOVE current line
s = delete character under cursor and start inserting in its place (substitute text)
S = delete all text on line and start inserting in its place (substitute line)
cw = delete to the end of current word and start inserting in its place (any movement command can be substituted for w)
cc = same as S (change line)
C = delete from the cursor to the end of line and start inserting at the cursor position
u = undo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment