4 ms·
On Linux it's possible to simultaneously map caps lock to both escape and control with xcape [1]. On short presses without any other keys depressed, escape is f
by moonboots 14y ago
On Linux it's possible to simultaneously map caps lock to both escape and control with xcape [1]. On short presses without any other keys depressed, escape is fired. On press-and-hold with other keys, control is fired. This is great for vim, emacs, and any other application with control shortcuts.
[1] https://github.com/alols/xcape https://github.com/alols/xcape
- sbader 14y agoI have this set up on OS X and I love it. It's explained in this blog post http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ http://stevelosh.com/blog/2012/10/a-modern-space-cadet/ along with some other cool things.
- enoch_r 14y agoThis! For the same functionality on OS X, I use KeyRemap4MacBook (terrible name, great program). Edit: sbader beat me to it. His link is where I originally got the idea, and is definitely worth a read--to some extent I think a lot of it is very thorough yak shaving, but... sometimes it's fun to shave some yaks!