假设我有(以$我已经显示换行符(新行))这样的事情避免线路中断的麻烦在复制和粘贴
This is line1$
This is line2$
$
This is line3$
我的目标是复制线路1和它粘贴到空白行(尽可能快),看起来像这样
This is line1$
This is line2$
This is line1$
This is line3$
不幸的是我无法做到这一点。这是我到目前为止所尝试的 在正常模式下,光标在第1行上,然后按V.结果整行被选中,包括(换行符)$。之后,为了抽出它,我按"*y
现在在正常模式下我移动到空白行,然后按“* P,结果我得到
This is line1$
This is line2$
$
This is line1$
This is line3$
然后我试着按” * P,我得到
This is line1$
This is line2$
This is line1$
$
This is line3$
我如何可以轻松地复制并粘贴到得到结果
This is line1$
This is line2$
This is line1$
This is line3$
,我知道我可以在空行按dd命令来删除它,但是我想知道是否有这样做的一个比较有效的方法(SOM接近我已经在做的)
您是否尝试过'Y $',然后' p'在空行吗? – Caek 2014-11-03 05:54:10