Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com 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
1  
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

1 Answer 1

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

 
discard

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.