Last Updated: February 25, 2016
·
1.537K
· andersoncardoso

swap ESC and CapsLock for speed improvement on Vim

If you are a Vim user, you find yourself pressing ESC all the time.
You can remap your ESC (always used, and far way) and your Caps (never used, and close) to fix this annoyance.

For GNU/Linux that uses Gnome (Ubuntu's Unity, gnome-shell, etc) go to :
settings > keyboard > layout > options > "Caps Lock key behavior"
and click on "Swap ESc and Caps Lock"

For Mac OSX you can install PCKeyboardHack and change the keycodes for these keys (look the reference for the keycodes 51,53 and 57).

att

Recommend
Say Thanks
Update Notifications Off
Respond