Hacker News new | ask | show | jobs
by cameronperot 1510 days ago
I use caps2esc [1] in Linux to remap capslock to ctrl on hold and esc on tap. It's such a simple yet insanely useful remapping! It really shines in modal editing (e.g. vim). I assume it's possible to use the underlying interception tools [2] to do that for any key without needing a particular programmable keyboard.

[1] https://gitlab.com/interception/linux/plugins/caps2esc

[2] https://gitlab.com/interception/linux/tools

2 comments

Yes probably right.

But the ergodox has such a nice programming interface that it makes the OS-level configuration pale in comparison.

I searched for a way to do this on Mac and Windows as well. I’m going to give it a go.

[0] https://gist.github.com/ivyxjc/0ee9b1f37a5abdfbcd8f31db3c10f...