Monday, August 6, 2018

Re: why is cut and paste broken on X11?

On Mon, Aug 6, 2018 at 8:10 PM, <ruben.safir@my.liu.edu> wrote:
>
>> - When copying, cutting and pasting (sorry, in Vim language it is
>> yanking, deleting and putting, respectively) within a single instance
>> of Vim it is possible (and I recommend) to bypass the X11 selection &
>> clipboard completely, and use either the default register for
>> temporary use,
>
>
> No - that right there is the cause for the great disconcertion of every individual I know using vim right now. The cutting and pasting is not the yanks and put of VIM. VIM should get out of the way and like the terminal and X do it...
>
> You put it in input moved and middle click in..
>
> You select and it can now be middle mouse button entered in to any other X11 device.

I see... Well, for that (excuse my language) there is a simple answer:
find yourself a Vim compiled with -x11, that one will only work in
Console mode and it will not hamper the terminal's grabbing of all
your selections and middle-clicks. If you can't find one precompiled,
you can compile it yourself; just be sure to include --disable-gui
--without-x among the configure options. In addition (but I'm less
sure about that) you may have to add the following in your vimrc:

:map <MiddleMouse> <Nop>
:map! <MiddleMouse> <Nop>

Best regards,
Tony.

--
--
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 received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: