:help x11-selection
in particular
:help quoteplus
Until I shifted to using *nix boxes regularly (via an actual X
session, rather than remotely accessing via ssh), the distinction
between these registers was lost on me.
On Win32, both the "*" register and the "+" register do the same
thing. Within X environments, "+" is the clipboard usually
accessed by copy/paste, while "*" is the selection clipboard
(usually filled by selecting stuff, and pasted with the
middle-mouse button).
Thus, depending on what the OP wanted, and how they wanted to
paste (with ^V or Edit|Paste vs. clicking the middle-mouse
button), it would change which register should be used.
I've had to rewire my hands to use the "+" register because it's
what I usually mean on both systems, and just grew sloppy using
"*" on my win32 boxen.
For this to work, you have to be running a version of vim that
has "+clipboard" enabled in its options.
I haven't had great success with getting cut&paste to work over
an SSH connection from a *nix box to Win32 but there might yet be
some trick I haven't found.
HTH,
-tim
- Re: vim paste buffer Tim Chase
-