I sometimes have multiple xterm windows open and run vim in both of them. Is there any way to copy text from one window to the other using registers if I don't have '+clipboard' enabled?
Steps to reproduce:
- Open a new xterm, run
vim -u NONE -N(vim with unsourced .vimrc to make sure that no plugin interferes)
- Yank a word with
yiw, yank another word with
:regto check how the registers "0 and "a look like.
- Open a new xterm and start vim again with
vim -u NONE -N. I am now unable to paste either of the two words yanked before. Running
:regshow that indeed the registers "0 and "a look different than the ones in my first xterm window.
I understand that would I have vim with '+clipboard' enabled, I could use the "+ register. But what can I do if I don't want have this option and don't want to open my two buffers in the same vim instance, but instead in two different xterms?