Saturday, September 22, 2012

Re: set mouse=a and copy paste

Hi Gelonida!

On Fr, 21 Sep 2012, Gelonida N wrote:

> So far I did not use
>
> :set mouse=a
>
> This sounds also an interesting option.
>
> However it has one drawback, which is, that whatever I select with a
> mouse can no more be pasted to other windows.
>
> as using the mouse is now affecting the visual mode selection it
> doesn't seem to populate the clipboard anymore.
>
> Would there be any trick to
> set mouse=a , and still have the visual selection end up in the
> clipboard or to be able to copy paset from another app?

Have you tried this

,----[ :h 'mouse' ]-
| Note: When enabling the mouse in a terminal, copy/paste will use the
| "* register if there is access to an X-server. The xterm handling of
| the mouse buttons can still be used by keeping the shift key pressed.
| Also see the 'clipboard' option.
`----

Also as mentioned see the help at :h 'clipboard

regards,
Christian
--
Die große Notwendigkeit erhebt, die kleine erniedrigt den Menschen.
-- Johann Wolfgang von Goethe (Riemer, Nov. 1803)

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