问题描述
我想在MacVim窗口之间共享命名寄存器缓冲区(就像我在单个实例中跨缓冲区一样)。换句话说,假设我标记了一个位置m,然后转到其他地方:
I want to share named register buffers across MacVim windows (as I would across buffers within a single instance). In other words, let's say I mark a position, m, and go somewhere else:
我将一些文本从当前点拖到寄存器m中: a 'm
I yank some text into register a, from current point to 'm: "a'm
然后我转到另一个窗口(不,我不是说在同一
窗口中有另一个拆分视图...)并想要粘贴: ap
Then I go to another window (no, I dont mean another split view in the samewindow...) and want to paste: "ap
在所有实例之间共享命名寄存器的好方法是什么?
What is a good way to share named registers across all instances?
推荐答案
您应该看一下插件。它保留以前的拉动,更改和删除的历史记录。我认为它将满足您的要求。
You should take a look at the YankRing plug-in. It "maintains a history of previous yanks, changes and deletes." I think it will do what you want.
这篇关于MacVim:在Windows中共享命名寄存器吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!