Friday, April 20, 2012

Re: gvim auto copy selected text to clipboard

On 04:56 Fri 20 Apr , Sergey Vakulenko wrote:
> Hi
>
> I wonder, how i can enable auto copy of selected text into '+'
> register in Ubuntu (to share clipboard between apps)?
> i have set guioptions+=a (in win32, this works perfectly )
>
> Please do not offer hand-click solutions like vmap <C-Insert> "+y
>
> --
> 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

You can add unnamedplus to your 'clipboard' setting. See ":help 'cb'".
For example I use:
set clipboard=unnamedplus,unnamed,autoselect,exclude:cons|linux

Best regards,
Marcin Szamotulski

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

Post a Comment