aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-06-20 00:53:30 +0200
committerTeddy Wing2019-06-20 00:53:30 +0200
commit46123783335aab2f40c89b684d5add8d2618cb7d (patch)
treed16b3381d8db7f49195d0ef8c7000a40a073ef75 /init.lua
parent2e5cc43d7d25295a14d634b53af48a6449cd909f (diff)
downloaddothammerspoon-46123783335aab2f40c89b684d5add8d2618cb7d.tar.bz2
application_switch: Provide access to F1–F4 keys
Since I overrode the F1 through F4 keys globally, there was no way to access press a non-custom variant of these keys. Realised this when trying to access the manual in Mutt, which is bound to F1. Add Shift-F1–F4 bindings that map to F1–F4, in case we need access to the original set of keys. Needed to add a `doAfter` delay after disabling the binding because the delay seems to take a bit to go through. Thanks to 'knu' (https://github.com/knu) for the tip: https://github.com/Hammerspoon/hammerspoon/issues/1252#issuecomment-290411701 Also gleaned it from: https://stackoverflow.com/questions/40986242/key-repeats-are-delayed-in-my-hammerspoon-script
Diffstat (limited to 'init.lua')
0 files changed, 0 insertions, 0 deletions