su dnf erase vim dnf erase vim-minimal dnf install neovimYou run "neovim" as "nvim" -- doing that I verify that it has the old behavior.
I could use this as an excuse to switch to neovim, but I want to investigate using dnf to downgrade my current copy of vim.
dnf --showduplicates list vim-enhanced vim-enhanced.x86_64 2:9.1.158-1.fc40 vim-enhanced.x86_64 2:9.1.672-1.fc40Lookin at the dnf.log, it looks like 672 came along around 8-14 which is about right.
dnf install vim-enhanced-2:9.1.158-1.fc40Indeed this works AND fixes the issue.
Note that there is a "dnf downgrade vim" command -- but it expects the package to be installed, since I had already erased it, this was not useful to me.
What will happen now when new vim versions show up? Probably (hopefully?) I will get upgraded AND they will fix this bug.
:map cw dwiThis gives a hint for the current problem. I actually want cw to be identical to ce, which is the original behavior. So a fix for the problem I am currently annoyed about is:
:map cw ce
Adventures in Computing / [email protected]