Background:
Sometimes, when editing in vim, there may be additional characters in the file that the user did not expect to be there, because he was in "insert" mode when he was in a hurry and in a hurry to finish something.
Fortunately, even if the user is in a hurry, pressing ESC several times is always enough to bring them out of the insert mode and into normal mode without surprises.
Question:
Is there a key binding that works the same for insert mode? Pressing "i" may lead you to insert mode, but if you press it several times, you will begin to insert the letter "i" into the file.
Goal:
The goal is to have a key binding to return to insert mode, which the user can even click a few times with his eyes closed and still not worry about the โunexpectednessโ of unexpected characters that fit into the file.
source share