Bram Moolenaar <[email protected]> wrote: > Sylvain wrote: > >> I compiled vim8 and named vim8 binary. >> >> I got a strange clipboard alteration: >> >> If I start vim8 simply and quit, clip board the terminal seems now >> corrupted for pasting. I got: > > Just running Vim should not change the clipboard. Perhaps something in > your setup causes this? Try using "vim8 -u NONE". > >> The clipboard content surrounded with 0~ + 1~ >> >> 0~ content here 1~ > > Strange. Must be caused by the bracketed paste mechanism. Vim tells > the terminal to surround the pasted text with escape sequences. > However, Vim filters these out, thus they should not end up on the > clipboard. Perhaps the Terminal is causing this?
I have the same problem with xfce4-terminal 0.6.3 on xubuntu-14.04. If I open a new terminal, I can copy/paste test fine with the mouse. (select text, the past with middle button). But if I then start and exit vim immediately with "vim -u NONE -c q" from there on, copying text and pasting in the terminal surround selection with 0~ .... 1~ It does not only affect the clipboard selection before starting vim, but also affects all new clipboard selections that are made after exiting vim. So Vim changes the behavior of the terminal and does not restore it when exiting somehow. It happens with xfce4-terminal, but it does not happen with xterm or gnome-terminal. Dominique -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
