remap caps-lock to escape in ubuntu 13.10
This is a popular thing to do, not only for vim users. ubuntu 13.10 removed xmodmap though, so now you have to use xkb to remap keys.
This is the command to remap caps-lock to escape:
setxkbmap -option caps:escape
The only way I found to make it permanent is to add the command as an autostart application.
- type "startup" in the unity dash
- choose "Startup Applications" and add an entry there
- choose name, comment and icon as you like, the command should be
setxkbmap -option caps:escape
though.
After a logout/login caps should behave as escape now.
Written by Sven Eigenbrodt
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#