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
Written by Anderson Pierre Cardoso
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Vim
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#