Map Caps Lock to ESC
I love VIM, big time. I love the home row, I really feel welcome around these latitudes. The horrible position of the much-used esc-button, that is another story. So I set out to remap the Caps Lock-key to replace esc on Mac OS X. After much disappointment a solution was found:
- Download PCKeyboardHack and install it.
- Go to PCKeyboardHack in System Preferences.
- Enable ‘Change Caps Lock’ and set the keycode to 53.
Now my fingers don’t have to travel that far. That’s nice.