当从系统缓冲区粘贴到类似以下行中时
foo( someVal , <cursor is here>, someVal3);
如果我使用"*p",我会得到什么结果?
foo( someVal, , someVal3);
<pasted text>
如果我使用“*P”,会得到以下结果:
<pasted text>
foo( someVal, , someVal3);
但我希望
foo( someVal, <pasted text>, someVal3 );
我该如何获得想要的结果?
编辑
如果像@amardeep怀疑的那样,缓冲区中有一个换行符,有没有办法告诉vim忽略它?