Vim Editing
Editing text in Vim
Delete
x # delete character under cursor
X # delete character before cursor
dd # delete line
dw # delete word
d$ # delete to end of line
d0 # delete to beginning of line
Change
r # replace single character
cc # change entire line
cw # change word
c$ # change to end of line
C # change to end of line (shortcut)
s # substitute character
S # substitute line
Undo and Redo
u # undo
Ctrl + r # redo
U # restore line
. # repeat last command
Join Lines
J # join line below with current line
gJ # join without space