You are on page 1of 1

On cmd mode:

k --> navigate up
j --> navigate down
l --> navigate right
h --> navigate left
w --> move cursor right to a word
b --> move cursor left to a word
:q --> quit
:q! --> quit without saving
:wq --> save and quit
dd --> delete and copy line
G --> goto end of file
gg --> goto top of file
i --> enter edit mode
u --> undo
^r --> redo
yy --> copy a line
p --> paste a line bellow
P --> paste a line above
v --> enter select mode
V --> enter select mode and select a line
^v --> enter select mode and select multiple char vertically
o --> add newline below and enter edit mode
O --> add newline above and enter edit mode
t,f --> goto specific letter on a line
cw --> delete word and enter edit mode
dw --> delete word
D --> delete rest of the line from the cursor
dt --> delete until the specified character
ct --> delete until the specified character and enter edit mode
zz --> center view
x --> delete word with cursor
~ --> change uppercase to lowercase and vice versa
. --> redo the previous cmd
r,R --> replece letters
s --> delete a letter and enter edit mode

You might also like