On Fri, Jun 18, 2010 at 11:16 AM, Tony Mechelynck
<[email protected]> wrote:
> According to the help, Vim does save register + when quitting, as follows:
>
>>                                                        *x11-cut-buffer*
>> There are, by default, 8 cut-buffers: CUT_BUFFER0 to CUT_BUFFER7.  Vim
>> only
>> uses CUT_BUFFER0, which is the one that xterm uses by default.
>>
>> Whenever Vim is about to become unavailable (either via exiting or
>> becoming
>> suspended), and thus unable to respond to another application's selection
>> request, it writes the contents of any owned selection to CUT_BUFFER0.  If
>> the
>> "+ CLIPBOARD selection is owned by Vim, then this is written in
>> preference,
>> otherwise if the "* PRIMARY selection is owned by Vim, then that is
>> written.

That is different than what Sarah is talking about.  The above quoted
behavior is useful for applications that still pay attention to
CUT_BUFFERs, but X's CUT_BUFFERs are deprecated for various reasons
(such as only handling latin-1 encoded data).  Because of that, many
applications/libraries do not even provide a means for interacting with
CUT_BUFFERs (Gtk included).

The proposal Sarah is referencing checks for the existence of a
clipboard manager and, if it exists, transfers the clipboard's contents
to that clipboard manager.

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

-- 
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