Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643766 - app-editors/vim-8.0.1298 pastes garbage from copy buffer
Summary: app-editors/vim-8.0.1298 pastes garbage from copy buffer
Status: RESOLVED UPSTREAM
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Vim Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-07 10:25 UTC by EoD
Modified: 2018-01-07 21:56 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EoD 2018-01-07 10:25:09 UTC
Some times (and it feels very random), vim starts behaving very oddly when I try to paste (via right-click paste and middle-mouse paste).

This also happens without a .vimrc file.

This is also probably related by using screen. It basically happens only inside of screen.


My scenario:

- I start vim, press I for insert mode and enter text in Line1 (L1), 
- Then I press enter (still being in plain insert mode) and try to paste the first line again. 

This is what happens:

> L1: This is a test
> L2: s is a test

> L1: Test test test
> L2: T test test

> L1: BTest BTest BTest
> L1: bTet BTestt BTest

The last example is the worst one as it overwrites the previous line.


First I thought that somewhere bracketed paste is enabled, but even when I do ":set t_BE=", it does not change.

It might be unrelated, but I also had some issues in my terminal (lxterminal-0.1.11) that sometimes text like "~1This is a test~0" got pasted in the terminal. But I seem to have "fixed" this by upgrading lxterminal.


Does anyone has an idea where this comes from?
Comment 1 Patrice Clement gentoo-dev 2018-01-07 21:56:46 UTC
Hi!

This sort of issues is way too specific for us to dig into and reproduce. Please talk to upstream and file a bug there. If the bug goes away using a more recent version of vim, let me know so that we bump vim.

HTH