I posted this question on StackOverflow first, as I did not know about "Vi and Vim beta".
How to augment Vim yank and paste, so when I yank, Vim writes the content to a file? When I paste, it uses the content from the file. I want to have a system wide file which serves as a global buffer.
Context: I run Vim in different tmux splits on a remote server (over ssh). I want seamlessly copy and paste between Vims in tmux splits. I tried a bunch of plugins, but none of them worked, thus the question.
y
andp
ore have 2 new commands (YankToFile, CopyFromFile)? – Doktor OSwaldo Aug 23 '17 at 6:28