So one of the things that really made text editing with vim easier for me is switching the caps lock and escape keys, which it turns out I can do in the GUI keyboard settings. But now when I'm using the Colemak keyboard layout, the caps lock key is mapped to a backspace, whereas I want it mapped to either caps lock or escape. Is there an easy way to change this?
You can force Caps Lock to be Esc on any layout:
In System ▸ Preferences ▸ Keyboard ▸ Layouts ▸ Options, set CapsLock key behavior to Make CapsLock an additional ESC.
A little late, but I struggled for a while to figure out how to fix this to my liking, and I wanted to share my solution.
I commented out the line that remaps the Caps Lock key in
/usr/share/X11/xkb/symbols/us, which is the keyboard mapping for the US layout. I have uploaded the resulting file here.