Hacker News new | ask | show | jobs
by Hnrobert42 2307 days ago
Karabiner-elements is good for mapping single keys to other keys. It doesn’t handle key combinations. (There is something called complex modifiers, but I can’t figure out how to edit them.)

BetterTouchTool is good for mapping key sequences. Further, it can do it selectively based on what application is active.

2 comments

The complex modifiers are just a json file that’s fairly easy to edit. I have a file that has caps+hjkl to arrow keys. Caps by itself is Esc. caps with anything else is Cmd-shift-option-control+anything else. And finally right shift plus caps toggles caps lock.
Wow. That’s good know. I will poke around. Thank you.

I like KE and have contributed to the dev several times. In typical modest Japanese fashion, contributions are limited to $10 max. Mapping ‘Enter’ to ‘Caps’ and ‘right shift‘ to ‘right command‘ staved off RSI in my right pinky, so I’m happy to send him/her some cash.

https://pqrs.org/osx/karabiner/json.html if you want to know a bit more about them
Is it per program or global? If it's global, it fixes nothing for this specific issue.
BTT can do both. Karabiner Elements is global only.