TERM=xterm enables mouse mode in vi, breaks pasting with middle mouse
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Fix Released
|
High
|
Adam Conrad | ||
Zesty |
Fix Released
|
High
|
Adam Conrad |
Bug Description
I quite often have the following work flow:
a.) lxc launch ubuntu-daily:zesty z1
b.) lxc exec z1 /bin/bash
c.) % vi foo.txt
d.) paste some thing from my X buffer (hit middle mouse button).
Somewhere between yakkety (2:7.4.
Previously this all worked fine.
Now, in zesty, however an attempt to paste results in a vi error message:
E353: Nothing in register "
to fix this, you can first disable the mouse 'a' [1]
: set mouse-=a
I'm not sure what is enabling this, because /usr/share/
set mouse=a commented out.
--
[1] http://
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: vim-nox 2:8.0.0095-1ubuntu2
ProcVersionSign
Uname: Linux 4.9.0-12-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.4-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Feb 3 12:14:20 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-07-23 (561 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Alpha amd64 (20150722.1)
SourcePackage: vim
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in vim (Ubuntu Zesty): | |
importance: | Undecided → High |
Changed in vim (Ubuntu Zesty): | |
assignee: | nobody → Adam Conrad (adconrad) |
status: | Confirmed → In Progress |
Status changed to 'Confirmed' because the bug affects multiple users.