3

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?

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

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. ;)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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