vim editor

shortcuts

escape = mouseless mode
i = text mode

gg = top
22gg = go to line 22
G = bottom

v = visual highlight
shift + v = visual highlight line

viw = visual hihglight a word

0 = beginning of line
$ = end of line

y = yank (copy)
p = paste
x = delete under cursor
x = delete under cursor
yy = yank line
pp = pasteline
dd = delete line
diw = delete word
yiw = yank a word
o = new line under this one
22o = 22 new lines under this one
O = new line above this one
9o = 9 new lines above this one
yy escape 22p = yank line paste it 22 times