0

I frequently work with a couple of gvim instances in windows, usually also with several tabs in each instance. Is is possible to have all the gvim instances share a common yank and put buffer, so that I can yank in one instance and put what I just yanked in another instance?

Alternatively, is it possible to have gvim synchronise against the windows clipboard, such that everything I yank gets copied also, and when I put it will past from clipboard instead?

Thanks

1 Answer 1

1

Use the system register *

so *y , and then paste as normal. This'll only work if gvim has clipboard support compiled in.

3
  • When I push * it immediately starts searching for what is under my cursor at the moment. Nov 19, 2010 at 13:16
  • 1
  • 1
    @bjarkef: the '*' register is the clipboard. you yank to it via "ay ... read :help registers about how to access the registers and how to yank to and copy from one.
    – akira
    Nov 19, 2010 at 13:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .