Vim is a very powerful text editor. It has a somewhat steep learning curve, but once you know it, you’ll never go back. I’m going to assume you know how to go into insert mode, command mode, and how to save and quit; rather, I’m going to list my favorite commands. Vim is an entire world to itself and I myself only know so much. So this is by no means whatsoever exhaustive. This is merely the editing commands that I find most useful.
MOVE AROUND
e move to end of the word
w move to the beginning of the word
W move forward a word
b move backward to beginning of word
$ move to end of line
0 move to beginning of line
G jump to end of file
gg jump to beginning of file
INSERT NEW TEXT
o insert text new line below
O insert text new line above
A insert text at end of line
I insert text at beginning of line
DELETE TEXT
x delete unwanted character
dw delete word forward
db delete word backward
dd delete line
REPLACE TEXT
cw replace to end of word
ciw replace entire word
cc replace enter line
C replace to end of line
COPY AND PASTE
v enters visual mode
y copy text using visual mode and p to paste
yw copy one word
SEARCH
? forward search
/ backward search
WE ALL MAKE MISTAKES
u undo last command