4 ms·
The only shortcoming I run into frequently with Hammerspoon is the fact that it is not low-level enough in the keyboard listening stack. I use Karabiner-Element
by usui 5y ago
The only shortcoming I run into frequently with Hammerspoon is the fact that it is not low-level enough in the keyboard listening stack. I use Karabiner-Elements which solves most of the things I need such as literally remapping the “fn” key because there’s no way for Hammerspoon to know if the “fn” key is pressed, only the more standard modifier keys. It also gets very tricky because I replace Caps Lock with “fn” and combine it with other modifier keys. It also can’t distinguish between “Left shift” and “Right shift” keys for example.
Overall though I’m extremely grateful for Hammerspoon and if it ever stops working I might consider moving to Linux as my personal machine. I am able to chain key presses infinitely and categorize the different functions.
For example, I press “Caps Lock” + “Left shift” + “a” to open a global key chording menu, press “w” for my “window management” category which opens another key chord menu, then press “w” again to maximize my current window. I replace the final “w” with “m” to minimize, “p” to open the most recently used window in a stack of windows in an application. Not only that, these keys are case sensitive so that effectively doubles my space of usable infinite key chords.
Hammerspoon is so amazing for developer workflows after you put the time in.