[Bug 1661691] [NEW] TERM=xterm enables mouse mode in vi, breaks pasting with middle mouse
Scott Moser
smoser at ubuntu.com
Fri Feb 3 17:21:46 UTC 2017
Public bug reported:
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.1829-1ubuntu2.1) and zesty
(2:8.0.0095-1ubuntu2) this behavior changed.
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/vim/vimrc has the line
set mouse=a commented out.
--
[1] http://www.varesano.net/blog/fabio/disable%20vim%20automatic%20visual%20mode%20using%20mouse
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: vim-nox 2:8.0.0095-1ubuntu2
ProcVersionSignature: Ubuntu 4.9.0-12.13-generic 4.9.2
Uname: Linux 4.9.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
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)
** Affects: vim (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug zesty
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to vim in Ubuntu.
https://bugs.launchpad.net/bugs/1661691
Title:
TERM=xterm enables mouse mode in vi, breaks pasting with middle mouse
Status in vim package in Ubuntu:
New
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.1829-1ubuntu2.1) and zesty
(2:8.0.0095-1ubuntu2) this behavior changed.
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/vim/vimrc has the line
set mouse=a commented out.
--
[1] http://www.varesano.net/blog/fabio/disable%20vim%20automatic%20visual%20mode%20using%20mouse
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: vim-nox 2:8.0.0095-1ubuntu2
ProcVersionSignature: Ubuntu 4.9.0-12.13-generic 4.9.2
Uname: Linux 4.9.0-12-generic x86_64
NonfreeKernelModules: zfs zunicode zavl zcommon znvpair
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)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/1661691/+subscriptions
More information about the foundations-bugs
mailing list