I can middle-paste fine under TERM=xterm with vim. Are you using gvim or some other variant?
-- 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: Confirmed Status in vim source package in Zesty: Confirmed 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