#vim shortcuts I use.md
0 - home
$ - end
k - up
j - down
h - left
l - right
dd - delete line
v - visual mode (select mode)
y - copy selected (yank)
p - paste ahead of cursor, unless you copied a line in which case it opens a new line below the cursor and pastes it
P - paste behind cursor, unless you copid a line in which case it opens a new line above the cursor and pastes it
o - open new line below the cursor
O - open a new line above the cursor
b - back to the beginning of the this or previous word
e - forward to end of this or next word
:integer - go to line
/searchText - find text (n - next occurence, p - previous occurence)
:! - see what output is on the terminal
:!run command line code
:split filename.txt - open another file and split the window (ctrl-w up-key and ctrl-w down-key for moving between panes)
. - Do that again
u - undo
[number][some command] - do some command a number of times