Hello! It has happen a few times that while I'm working on mock intreview questions, the editor sudenly starts working in overwrite mode. I must accidentally press some weird undocumented shortcut that sets it into this mode, and I can't get it back to insert mode.
Overwrite mode is when you type a character and instead of just adding it to the current position of the carret, it overwrites the caracter in that position. i.e. if "#" is the possition of the carret in the sentence "hello #world" and you type a "c", it turns into "hello c#orld" instead of "hello c#world" in insert mode.
Just to be clear, my keyboard doesn't even have an "insert" key, and in fact this only happens in the leetcode screen I'm working on. If I switch to other editor, or even if I open a new leetcode window, the new windows will work normally.
How can I fix this? it just makes the whole editor a pain to use. Almost unusable. When it happens early in a mock interview, it's the worst.
Thanks!