On Sat, Apr 30, 2011 at 3:44 PM, Gary Johnson <[email protected]> wrote:
>
> Thank you for the thorough explanation. I won't be able to apply or
> test your patch until Monday or Tuesday, but I'll do so then and let
> you know how it works out.
>
> I have a Windows XP machine at my desk and use NoMachine to connect
> to a machine in the back room running Fedora 11 and (currently) KDE.
> I also have True X-Mouse running on the Windows machine to make the
> mouse behavior on Windows more like it is on X. I have 'clipboard'
> set to include 'unnamed'. Should I set it to 'unnamedplus' instead?

Setting `clipboard=unnamedplus' doesn't affect the issue, fortunately.
Yanking and pasting in a single vim instance, and between vim processes
works perfectly. The issue only appears when trying to paste text from
the X clipboard that is not in a vim selection format.

If `clipboard=unnamedplus', pressing `p' defaults to pasting from the
"+ register, and `clipboard=unnamed' from the "* register. This allows
easier interaction with the X clipboard, and so one is more likely to
notice this in practice.

On the Mac, setting unnamedplus and enabling the native clipboard sync
is a disaster, because the sync annoyingly overwrites the contents of
the X CLIPBOARD with the same text but in the non-vim format. This is
a bug of the X11 server application on OS X, but it highlights this
particular incompatibility with the X clipboard system.

Cheers,
Sung Pae

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui