Cut and paste

Shortcut Description
x Delete character (Cut)
p / P Paste after/before
xp Swap two characters
D Delete to end of line (Cut)
dw Delete word (Cut)
dd Delete line (Cut)
ddp Swap two lines
yy Yank line (Copy)
"*p * * "+p
"*y * * "+y

#In visual mode

Shortcut Description
d * * x
s Replace selection
y Yank selection (Copy)
Comments