Age | Commit message (Collapse) | Author |
|
|
|
Remove the Chrome extension reload binding on F5. I'm not using it
currently and it was just messing me up when I pressed it accidentally.
Move the iTerm application switching binding from F6 to F5 now that it's
free, as F5 is easier to find without looking.
|
|
Easier and less error-prone than the F13_f mapping I also have. Need a
shorter shortcut that isn't F1 while I work on trying to move from
Terminal to iTerm.
|
|
|
|
|
|
|
|
|
|
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
|
|
Otherwise it will stay active until the next time I press a bound key,
forcibly switching applications when not intended.
|
|
Turns out you can't define a multi-key mapping. Not sure if there's a
way to define a dead key in Hammerspoon other than using a mode. Looks
like the way I originally wrote it is the way to do it.
|
|
Change mappings preceded by the F13 key to use easy to reach keys on the
left side of the keyboard. Since F13 requires moving the right hand, use
keys that don't require me to move my left hand, enabling me to activate
these without looking down at the keyboard.
|
|
Hide these under a mode switch as they're not as frequently used as the
others defined at the top of the file.
|
|
Bind a few F<n> keys to activate frequently used applications.
|