Tuesday, January 24, 2017

Re: annoying PasteStart/PasteEnd

On Mon, Jan 23, 2017 at 08:46:16PM +0100, Bram Moolenaar wrote:
>
> Johannes-Maria Kaltenbach wrote:
>
> > I just updated vim from 8.0.197 to 8.0.222 and now I
> > always get a very annoying <PasteStart> before and
> > <PasteEnd> after anything I paste with the mouse
> > (middle button) in an xterm on Unix (BSD).
> > How can I get rid of this 'feature'?
>
> Support for bracketed paste was added, it is supposed to make paste work
> better.
>
> I cannot see the problem. Can you say what exactly you do?
> What is your 'mouse' setting?

no setting.
('verbose set mouse' just returns 'mouse='.)

I don't use gvim, only vim in an xterm.
and just use the mouse as usual in X windows.

When I yank something (left mouse butten), e. g. 'xxx',
and paste it (with the middle mouse butten) then the xxx
is surrounded by <PasteStart> and <PasteEnd>:

<PasteStart>xxx<PasteEnd>

I've got rid of this with Christian's help by adding
'set t_BE=' to my .exrc.


I only found out today that this occurs only in the
command line (:) or search (/, ?), not when writing
to the buffer.

Best regards,
Johannes-Maria


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