Monday, September 4, 2017

Re: vim8: changes behavior of the clipboard (middle mouse button)

Hi,

2017/9/5 Tue 9:55:59 UTC+9 Art Breadless wrote:
> Hello,
>
> since I use vim8 on Xubuntu 16.04 after using vim8 and leaving it the middle mouse button inserts 0~selectedtext~1.
>
> This did not happen with vim 7.4. and Xubuntu 14 (this is the condiguration I use at work)
>
> zuu@kitchen:~/test$ ls
> test
>
> now selecting test by double click before vim8 was started, the niddle mouse button inserts:
>
>
> zuu@kitchen:~/test$ test
>
> now starting vim and exiting:
>
> zuu@kitchen:~/test$ vim
> :q
>
> selecting test and middle mouse button:
>
> zuu@kitchen:~/test$ 0~test1~
>
> This 0~ and 1~ surronders are bad. Has anyone an idea?

It seems that bracketed paste mode is not disabled properly when vim exits.
See `:help xterm-bracketed-paste` for detail.
It might be a bug of vim, however, you can disable it as a workaround by
adding the following line in your .vimrc:

set t_BE=

Regards,
Ken Takata

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