Professional Documents
Culture Documents
Normal Mode: H J K L Esc I o V:$ V C V DD D U y Yy P GG (Line - Num) GG G %:W:WQ:Q:Q!
Normal Mode: H J K L Esc I o V:$ V C V DD D U y Yy P GG (Line - Num) GG G %:W:WQ:Q:Q!
h : left
j : down
k : up
l : right
esc : enter normal mode
i : insert text at cursor
o : insert text on text line
V : select text
:$ : end of file
v : highlight while moving cursor
c : change highlighted text
V : highlight multiple lines
> : indent lines
< : decrease indent
dd : cut line
d : cut
u : undo
y : copy
yy : copy a line
p : paste
gg : top of file
[line_num]gg : specific line
G : end of file
% : jump to matching ({[]})
:w : save
:wq : save and exit
:q : quit
:q! : force quit
:[line_number] : jump to line line number
word
WORD
W
B
W
gE
Move with counts
[number][motion]
Move to character
f[CHARACTER] : next occurrence of a character
F[CHARACTER] : previous occurrence
t[CHARACTER] : cursor just before character
T[CHARACTER] : same as t but backwards