📜  复制粘贴键 vim - 任何代码示例

📅  最后修改于: 2022-03-11 14:59:29.104000             🧑  作者: Mango

代码示例1
yy        copy current line into storage buffer
[“x]yy    Copy the current lines into register x
p        paste storage buffer after current line
P        paste storage buffer before current line
[“x]p    paste from register x after current line
[“x]P    paste from register x before current line