Wednesday, June 22, 2011

Re: autoselect in gnome

On 2011-06-22, Joachim Hofmann wrote:
> On 22.06.2011 16:33, Christian Brabandt wrote:
> >On Wed, June 22, 2011 4:21 pm, Joachim Hofmann wrote:
> >>On 22.06.2011 15:55, Jürgen Krämer wrote:
> >>>Joachim Hofmann wrote:
> >>>>On 22.06.2011 15:30, Jürgen Krämer wrote:
> >>>>>Joachim Hofmann wrote:
> >>>>>>I am used on windows that onother applications paste command rely on
> >>>>>>what was selected in vim before.
> >>>>>>Can I configure the autoselect feature so that it does copy in the +
> >>>>>>register instead of the * register? (or both?)
> >>>>>>(Ubuntu Gnome)
> >>>>>does
> >>>>>
> >>>>> :set clipboard=unamedplus
> >>>>>
> >>>>>help?
> >>>>You mean add "unamed"?
> >>>no, I meant "unnamedplus" (sorry, I forgot an "n"). This flag was
> >>>introduced with pathc 7.3.074.
> >>i added it, but it does not help.
> >And your Vim is newer than 7.3.074?
> >
> >regards,
> >Christian
> >
>
> VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 24 2011 07:07:34)
> Inklusive der Korrekturen: 1-35
> Verändert von pkg-vim-maintainers@lists.alioth.debian.org
> Übersetzt von buildd@
> Riesige Version mit GTK2-GNOME GUI.
>
> guioptions=aegimrLtT
> clipboard=autoselect,exclude:cons\|linux,unnamedplus

From ":help 'clipboard'", the section under "exclude:{pattern}":

The rest of the option value will be used for
{pattern}, this must be the last entry.

In other words, "unnamedplus" will have no effect if placed after
"exclude" in the 'clipboard' option string. To add it at the front
of the default 'clipboard' option value, use

set clipboard^=unnamedplus

with a caret before the equals sign.

:help :set^=

Regards,
Gary

--
You received this message from the "vim_use" 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

No comments: