i enters edit mode at current character
a enters edit mode after current character
v selects from current cursor to navigated endpt
d delete what is selected by v
x delete character at current cursor
X delete character following cursor
d0 delete to beginning of line
db delete to beginning of word
dd delete entire line to buffer
Ndd delete N lines to buffer
d( delete to beginning of sentence
d) delete to end of sentence
d{ delete to beginning of paragraph
d} delete to end of paragraph
d delete current and following line
dw delete entire word to buffer
D delete line from current char
p paste buffer after current position
P paste buffer before current position
:r reads file below current line
:r ! cmd reads output of cmd below current line
:w writes to new file :w writes to existing file
0 moves to begin of line
^ move to begin of line
$ move to end of line
b moves to begin of current word
e moves to end of current word
( moves to beginning of document
) moves to end of document
G moves to end of document (Linux Vim)
gg moves to begin of document (Linux Vim)
w moves to beginning of next word
nG moves to beginning of line n
H moves to beginning of current page
G moves to last line in current file
/string search next occurence of "string"
?string search prev occurence of "string"
n repeat last search
N search next string in opposite direction
/string\> search string by matching at the end of wds
/string\< search string by matching at the begin of wds
/s. search for s. where . is wildcard for 1 char
. repeat last command
/s[aei] search for sa, se, si
u undo last command
o add new line after current line
O add new line before current line
ZZ quit with save
:wq quit and save to file :q! quit without save