Adam, I'm not sure that we should pick up delta for this. If upstream vim and upstream debian both enabled this new behavior, we may just want to accept it. Once you learn about 'shift', then i think its acceptable.
Additionally, any one who writes their own vimrc (like you or I or ubuntu developers) are going to not see this issue... which is why we only saw it in a container, and I never even noticed it in a ssh vm because I have user-data that sets up .vimrc there. -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, 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: In Progress Status in vim source package in Zesty: In Progress 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 -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp