0

I'm stuck up with a weird problem. I am trying to copy(yy) and paste(p) a line from one file to another (in split screen). It doesn't look it its working. However, yy, p works in the same file and with another file opened in another "tab". Would be really helpful if someone could tell me how to fix this. Spending a lot of time fixing this :(.

Thanks, Omkar

4

2 回答 2

1

这有效: set clipboard=unnamed

于 2016-07-11T00:51:00.730 回答
0

您还可以使用命名缓冲区。如果你 yank with"ayy和 put with,"ap你可以在 vim 会话中从任何缓冲区 yank 和 put 到任何其他缓冲区。您可以使用任何其他字母代替a缓冲区的名称。

于 2016-07-11T15:43:57.813 回答