Public bug reported:

When I delete a word in VIM using, say `dw`, the system clipboard now
contains that word, so if I do <ctrl>v in Firefox I paste that deleted
word. Any time I delete or replace text in VIM, including deleting
entire blocks using e.g. 10dd it will clobber what I have saved in the
system clipboard.  My next paste would paste 10 lines in that example!

Traditionally we have to do `"+y` to get things into the system
clipboard but it seems like the VIM buffer and the clipboard are getting
mixed together.   I didn't notice this before, so it may have just
started happening with upgrade to 25.10.

ProblemType: Bug
DistroRelease: Ubuntu 25.10
Package: vim-gtk3 2:9.1.0967-1ubuntu6
ProcVersionSignature: Ubuntu 6.17.0-6.6-generic 6.17.1
Uname: Linux 6.17.0-6-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: ubuntu:GNOME
Date: Tue Nov 18 19:15:03 2025
InstallationDate: Installed on 2018-01-05 (2874 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
SourcePackage: vim
UpgradeStatus: Upgraded to questing on 2025-11-05 (13 days ago)

** Affects: vim (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug questing wayland-session

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2131819

Title:
  simple command like `dw` pollutes system clipboard

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2131819/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to