- Use the
hjklkeys as indicated below to move one character in any direction. - Moving With Words
wmove to the next wordemove to the end of a wordbmove back a word
- Insert Mode
ienter insert mode before your cursoraenter insert mode after your cursorescgo back to normal mode
- Inserting at Line Ends
Ienter insert mode at the beginning of a lineAenter insert mode at the end of a lineescgo back to normal mode
- Opening New Lines
oopen a new line below the cursorO(uppercase o) open a new line above the cursor
- Moving to Line Ends
0move to the beginning of a line$move to the end of a line_move to the first word in a line
- Find Motion
f{char}move to the next occurance of {char}F{char}move to the previous occurance of {char};repeat the last find motion.
- Delete Operator
d wdelete wordd ddelete a lineDdelete from the cursor to the end of a linexdelete the character under the cursor
Created
December 17, 2023 06:42
-
-
Save moelzanaty3/d92d5d43e11b9869c6da994d4b23ecea to your computer and use it in GitHub Desktop.
vim binding keys to memorize it
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment