To demonstrate the whole reproducing process, I make a video: https://youtu.be/UD38-wnwGnw
As you can see, I enter my vim with '--clean' flag. No vimrc, no plugins, but it still enter the 'replace mode' automatically. It is so annoying, anyone knows what's going on?
Update:
After entered clean vim(with --clean flag, but issue remained), I checked if any unexpected scripts had been executed:
Seems nothing special, everything belongs to official content.
And I also checked my 'vi' command, confirmed that where it comes from:
Nothing special neither, too.
I still have no idea toward this issue.
--cleanyou might want to check your defaults.vim file to make sure it hasn't been modified. Also, make sureviis properly aliased tovim:type -a vi.insertmodestate AFTER cancel the replace mode and focus to command bar? Of course, it shows 'noinsertmode'.VIMINITorEXINIT, though I don't know what they means.