Tuesday, January 24, 2017

Re: annoying PasteStart/PasteEnd

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.

Whatever I try I cannot reproduce it.

Does this still happen when you start Vim with:

vim -u NONE -N

When not resetting t_BE, of course.

--
Futility Factor: No experiment is ever a complete failure - it can always
serve as a negative example.

/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///

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