In 2022 on Ubuntu 21.10, vim installs loads of modules all of which seem to break anything I put in ~/.vimrc or .vim/vimrc or /etc/vim/

Amazingly bad distribution of vim.