4 ms·
Mapping caps lock to escape is nice, but IMO the really useful move is to map caps lock to BOTH escape and control. I use it (via Karabiner Elements on OS X),
by thedz 9y ago
Mapping caps lock to escape is nice, but IMO the really useful move is to map caps lock to BOTH escape and control. I use it (via Karabiner Elements on OS X), and it's great:
Caps lock pressed AND released in isolation within 250ms is escape.
Caps lock pressed in conjunction with another key is control.
The way it seems to do it is to trigger key events on key_up rather than key_down, meaning "escape" is triggered when you release caps lock, not when you press it. This can feel a little strange in some edge cases, but in normal usage, I don't notice it at all.
This has essentially saved my MacBook Pro touchbar as a dev machine, since I absolutely loathe the touchbar escape key, but didn't want to lose caps lock as control.
- rco8786 9y agoI use this same setup and can't believe I lasted so long without it.
- jorvi 9y agoRemapping right CMD to backspace is another wonderful improvement!
- securedev 9y agoDoes anyone know if there is a way to do this (make Caps Lock behave as both Escape and Control depending on if any other key is combined with it) on Linux?
- Loomx 9y agoxcape is what you want: https://github.com/alols/xcape https://github.com/alols/xcape (or probably in the repos of your distro)
- darklajid 9y agoNow I want to find a way to do this for Windows.. :-/