Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

When working in bash vi mode, I sometimes notice I have to press A, a, I or i twice to get into insert mode. Any idea what's causing this?

share|improve this question

migrated from Jun 23 '10 at 5:22

This question came from our site for professional and enthusiast programmers.

broken keyboard ;) – Johan Jun 23 '10 at 5:45
It happens when you press ESC twice. I hate this behavior of bash/readline. – mrucci Jun 24 '10 at 6:37
indeed - pressing ESC twice is the cause. Thanks for that – Klaas van Schelven Jul 1 '10 at 23:31

As mrucci said, the problem is pressing Esc twice. However, since he only commented and did not create an answer, this question is still listed as “unanswered”. Therefore I shamelessly create an answer. ;)

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.