Please enable JavaScript.
Coggle requires JavaScript to display documents.
Vim Editor Tutorial - Coggle Diagram
Vim Editor Tutorial
Simple Navigation
Up - K
Down - J
Left - H
Right- L
Basic Editing
Deleting a word
: type
dw
to delete a word in Normal mode.
Deleting an entire sentence:
You can use
d$
to delete an entire sentence in Normal mode.
Deleting a word
: dw - until the start of next word
Deleting a word
:
de
: to the end of the current word
Documents
Start of Document:
GG
End of Document:
Shift+G
Motions
2w - move cursor 2 way forward
2e - move cursor to the end of the 2nd word forward
Navigating to specific lines in a document
(line.no)+gg
For ex, if I want to navigate to line no 46, I'd do --> 46gg