y y or Y to copy the line (mnemonic: y ank )
(y y或Y复制行(助记符: y ank ))
or
(要么)
d d to d elete the line (Vim copies what you deleted into a clipboard-like "register", like a cut operation)
(d d到d elete行(VIM拷贝你删除到剪贴板中,如“注册”,如剪切操作))
then
(然后)
p to p aste the copied or deleted text after the current line
(p至p ASTE复制或在当前行之后删除的文本)
or
(要么)
P to p aste the copied or deleted text before the current line
(P至P ASTE复制或当前行之前删除的文字)
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…