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?

link|improve this question

62% accept rate
I know that Control + [ does the same thing, but that's not really easier for me. – Nathan Long Mar 2 '11 at 15:57
feedback

2 Answers

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

link|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
feedback

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

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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