Seems like Ubuntu was always removing below block from upstream
defaults.vim before 26.04:
+" In many terminal emulators the mouse works just fine. By enabling it you
+" can position the cursor, Visually select and scroll with the mouse.
+" Only xterm can grab the mouse events when using the shift key, for other
+" terminals use ":", select text and press Esc.
+if has('mouse')
+ if &term =~ 'xterm'
+ set mouse=a
+ else
+ set mouse=nvi
+ endif
+endif
i.e. vim-common on 24.04 was created based on this defaults.vim:
https://github.com/vim/vim/blob/e978b4534a5e10471108259118c0ef791106fd92/runtime/defaults.vim
with the one exception of above "if has('mouse')" block removed
in contrast, on 26.04, vim-common seems like shipped with default.vim "as is"
from the vim upstream using this commit:
https://github.com/vim/vim/blob/bc1a82245c8228fb0a59e9a8977d2d7190c75dc6/runtime/defaults.vim
including "if has('mouse')" block.
this causes dramatic vim behavior change compared to 24.04
I agree that it would be nice to maintain continuous behavior between
releases for critical daily tools like vim, or perhaps at least document
the change in changelog if it was done deliberately.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2152900
Title:
Vim's default configuration doesn't allow copying to the clipboard
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vim/+bug/2152900/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs