When working with Vim I often work from multiple monitors and multiple split terminals so I have multiple instances of VIM running at all time. Is there a way to have a persistent shared register that allows me to share the copy paste buffer(Buffer maybe the wrong term here) Is there a setting in VIM or a plugin that would allow me to do this.
And example of the work flow I want is to open VIM and yank text close vim Go to another terminal open VIM and paste that yoinked text.
Tell me more
×
Unix & Linux Stack Exchange is a question and answer site for
users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.
|
|
|||
|
|
|
The persistent shared register is the system clipboard. A similar question has been posted at SO. This is the answer I posted there: Use the Cut/Copy examples
etc, etc Paste examples
Or in insert mode:
Or
(the last one pastes without formatting, useful to avoid those ugly pastes from the OS clipboard where each indented line appears more and more shifted) |
|||
|
|