Hacker News new | ask | show | jobs
by extr 933 days ago
One thing I really don't like about rectangle (and maybe MacOS in general) is that you can't easily multi-key hotkeys with regular keys. So for example CMD + Right Arrow + Up Arrow for upper-right tiling. This is simple/trivial with PowerToys on windows. But you can use Karabiner Elements to create a simulation of this using keypress delays. I use Karabiner + BetterTouchTools to accomplish the same functionality since I'm already running it for other reasons.
1 comments

Doesn't this always force delays? If I have CMD + Right Arrow assigned to some other function, the system will have to wait to make sure the Up Arrow isn't coming soon before dispatching the Right Arrow function. Of course we want the delay short, but that makes the multi-key shortcut less reliable.

I haven't tried it, but the tradeoffs don't sound great to me. Only allowing multiple modifier keys avoids all of these timing issues. You seem to be comfortable with it, but I think most users would trigger a lot of spurious inputs.

It does force delays and your concerns are legitimate. All I will say is that in practice I've never actually noticed any kind of conflict or problem when the delay is on the order of 500ms.
It’s not really an issue. I have one of these hot keys set up and what it does is when I hit βŒ˜β†’ it will tile in the right half and when I go to hit ↑ it will then shrink to the upper quarter.