Been using vi since the late 1980s, so let's assume I'm extremely familiar with it...
Whenever I try to paste now (yes, in insert mode) it first overwrites lines, then pastes part of the selection and sometimes it drops into spell check.
Nothing changed beyond unattended-upgrades doing it's thing.
Removed vi, vim, tried the gtk version, blank ~/.vimrc, no ~/.vimrc, same with all combinations of /etc/vim/vimrc
Removed bashrc, sourced /etc/profile, same...
Same in gnome-terminal and terminator...
Not sure what went wrong, anyone else having similar issues?
vim.gtk3 --version VIM - Vi IMproved 8.1 (2018 May 18, compiled Apr 15 2020 06:40:31) Included patches: 1-2269
Since it does this with blank vimrc files, when recreating it/installing different vims, I've left them blank.
Every other program -- even shell-based editors like pico -- are working.
SSH'ing in from other machines where vim works has the same error.
Update: this is the only 20.04 desktop I have. Bunches of 18.04 laptops/desktops/servers, no issues on them but ssh'ing in from any and the error recurs. Ssh'ing out... let's see... from 20.04 desktop -> ubuntu 18.04 server and 18.04 laptop, same error. So per the comments below, seems something in the gnome or x-windows system. I'm thinking an update overwriting a config file went bad? Not sure which configs in ~/.config/ I should look at? Any hints would be GREATLY appreciated!
vim
in focal was datedWed, 15 Apr 2020 16:40:31 +1000
so it's not avim
issue I bet (changelogs.ubuntu.com/changelogs/pool/main/v/vim/…). Currently is just guess work given no-changes tovim
implies it's related to something else on your system we know nothing about; if this were on a bug report I'd look at what other packages are on your system but we've been provided none here knowing little about your system/var/log/apt/history.log
to see what upgrades have reached your system this month. Due to Phased Upgrades, your upgrades may be different from mine (so your title is not particularly helpful).