Last active
April 13, 2019 21:01
-
-
Save Innarticles/2e1a950fbbcbc2b3f980dd33321243c2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
h moves the cursor one character to the left. | |
j moves the cursor down one line. | |
k moves the cursor up one line. | |
l moves the cursor one character to the right. | |
0 moves the cursor to the beginning of the line. | |
$ moves the cursor to the end of the line. | |
w move forward one word. | |
b move backwards one word. | |
G move to the end of the file. | |
gg move to the beginning of the file. | |
`. move to the last edit. | |
d starts the delete operation. | |
dw will delete a word. | |
d0 will delete to the beginning of a line. | |
d$ will delete to the end of a line. | |
dgg will delete to the beginning of the file. | |
dG will delete to the end of the file. | |
u will undo the last operation. | |
Ctrl-r will redo the last undo. | |
ZZ - save and quit | |
Switch Mode: | |
i - to INSERT mode | |
Escape - to Commandline mode | |
: - last-line mode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment