Install
background
normal mode: insert mode:
tutorial
mode change
i : change to insert mode
o : go down a line and change to insert mode
c : delete and go to insert mode
a : go forward and go to insert mode
A : go to the end of the line and change to insert mode
move around
h l j k : move by character
w W b B : move by word (with or without punctualation)
t f : go the character in the line
% : goto another ()
k ^ : go to start of line
gg G : move top/ bottom
{ } : move by block
<num> : move to certain line
<num> <command> : repeat several time
updates
delete
dd : delete line
d} d{ : delete block
dgg dG : delete all
D : delete the rest of the line
x : delete one character
u : undo
<C> r : redo
changes
r : replace letter
copy and paste
yy : copy
p P : paste down/ up
repeat
. : repeat the last command
select
V : visual mode
<C> v : select column
combos
ct} : delete whole { } V}d : delete whole { }
Record
q<key> q : start/end the recording @<key> : recast
|