Try starting vim without config, I think that’s
vim -u NONE
Does it still occur then?
If not, it’s a config issue in /etc/vimrc
and/or ~/.vimrc
(or maybe ~/.config/vim/vimrc
or something?)
If it does, it has to be something else.
From Wikipedia, the free encyclopedia
Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).
Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.
Community icon by Alpár-Etele Méder, licensed under CC BY 3.0
Try starting vim without config, I think that’s
vim -u NONE
Does it still occur then?
If not, it’s a config issue in /etc/vimrc
and/or ~/.vimrc
(or maybe ~/.config/vim/vimrc
or something?)
If it does, it has to be something else.
I tried opening it without config and it acted even weirder, but that still helped me get towards my solution which is in the update in the post. Short of it is I uninstalled and removed .viminfo and /etc/vimrc then reinstalled
Did your keyboard mapping get changed? Try running this to check the current locale:
localectl status
Other settings are generally dependent on the distro you're using.
I checked the locale and it is correct. I'm on Arch, and I just installed neovim to compare the cursor and typing behaviors, and in neovim it acts as expected when I type the ~
.
I did notice that in vim, I now have a blinking block cursor in insert mode as well as in visual mode, while in neovim, it's a block cursor in visual mode and a vertical bar cursor in insert mode. This was the normal behavior in vim prior to whatever the heck I did.
Edit: grammar
Yeah, probably best bet is to uninstall and purge settings. Depending on the district you're using and it's package manager, you it may be as simple as apt purge vim. And just to be sure remove all vimrc files from all user home folders including root.