I’m hoping someone can help me with this.
I was holding my laptop while I had a vile open in vim, and I slipped, mashing a bunch of keys on the keyboard by mistake.
After doing this, I can’t type the ~
character anymore. Anytime I try to type it, it jumps the text putting focus on the line the cursor was on where I was trying to type.
I’ve searched and had no luck finding out what I did to cause this behavior. I also tried looking through the vim manpage and couldn’t find any info there either.
Hoping someone knows what the heck I did. Thank you!
vim will load some other rc file if it cant find your ~/.vimrc. check what it has loaded with
:scriptnames
also, try starting vim in a brand new terminal with
vim -u NONE
and check if it’s still happening.I think I fixed it with a variation of turning it off and on again. I deleted vim, deleted ~/.viminfo and deleted /etc/vimrc, then reinstalled. So far it’s working as expected.