2

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?

1
  • I know that Control + [ does the same thing, but that's not really easier for me. Mar 2, 2011 at 15:57

2 Answers 2

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

2
  • Interesting. What are the cases where CTRL-C is different? Mar 2, 2011 at 17:52
  • @Nathan: I'm only aware of expansions as a difference.
    – Eelvex
    Mar 2, 2011 at 18:00
1

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .