8.1. Register And Paste - shinokada/vimnotes GitHub Wiki

Using the default register

# list all registers
:reg

# paste from a register
<C-r>0 # or 1, 2, 3, a, b, c, etc.

# toggle characters
# x to cut
# p to put after cursor
xp 
bakc # xp on k will make back

# toggle lines
ddp # cursor on the first line

# duplicate a line
yyp

# check the doc
:h quotequote # unnamed register
:h registers
⚠️ **GitHub.com Fallback** ⚠️