I just got a new laptop and had to google again on how to set caps lock key to escape (I’m a Vim user).
| |
To know your options, use the following command:
man xkeyboard-config
(MAN pages are your friend; man is short for manual)
You can also now use the Dconf GUI editor if you must (SHAME! ;) )
Type Dconf in Unity or Gnome app opener and go to the following location:
| |
Add ['caps:escape'] to Custom Value textbox.

Cheers.