-
set numbershow line numbers -
:m 12move current line to line 12 -
:5,8m 2move lines 5-8 to after line 2 -
:!{command}execute unix command from vim -
/{query}search forward -
?{query}search backward -
nnext -
Nprevious -
*find next occurence of word cursor is on -
yyank (copy) -
ppaste -
>>to indent
Last active
June 28, 2016 15:56
-
-
Save chrisloftus/68bfb1e166ecee6d5562 to your computer and use it in GitHub Desktop.
Vim cheatsheet
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment