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 using Vim (specifically, MacVim), I hit ESC about a thousand times a day. It's a bit far to reach for such an important key.

Has anybody mapped this to something more comfortable? If so, how did you do it?

share|improve this question
    
I know that Control + [ does the same thing, but that's not really easier for me. –  Nathan Long Mar 2 '11 at 15:57

2 Answers 2

Caps Lock is a nice alternative but these are predefined:

  • CTRL-[ which is completely equivalent to ESC and
  • CTRL-C which is in most cases* the same as ESC

also, a very common mapping is the jj (or even <leader>j) since the sequence 'jj' is extremely rare in typing.

There is a similar discussion on SO

*it will not expand abbreviations

share|improve this answer
    
Interesting. What are the cases where CTRL-C is different? –  Nathan Long Mar 2 '11 at 17:52
    
@Nathan: I'm only aware of expansions as a difference. –  Eelvex Mar 2 '11 at 18:00

You could remap the Caps Lock key to an ESC key which is shown via the following superuser question. Map CapsLock key to ESC in Mac OS X

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.