aboutsummaryrefslogtreecommitdiffstats
path: root/application_switch.lua
AgeCommit message (Collapse)Author
2019-08-12Add missing license headersTeddy Wing
2019-08-06Remove F5 Chrome extension reloader, replace with iTerm app switchTeddy Wing
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.
2019-07-26application_switch: Add a binding on F6 to activate iTermTeddy Wing
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.
2019-07-06application_switch: Add shortcut for TextEditTeddy Wing
2019-06-22application_switch: Allow deactivating mode with Escape keyTeddy Wing
2019-06-22application_switch: Add shortcut for PreviewTeddy Wing
2019-06-22application_switch: Add shortcut for ExcelTeddy Wing
2019-06-20application_switch: Provide access to F1–F4 keysTeddy Wing
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
2019-06-19application_switch: Allow cancelling out of F13 modeTeddy Wing
Otherwise it will stay active until the next time I press a bound key, forcibly switching applications when not intended.
2019-06-19application_switch: Remove impossible TODOTeddy Wing
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.
2019-06-19application_switch: Prefer left-handed shortcuts for mode mappingsTeddy Wing
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.
2019-06-19application_switch: Add shortcuts for more frequently used applicationsTeddy Wing
Hide these under a mode switch as they're not as frequently used as the others defined at the top of the file.
2019-06-17Add application switching shortcutsTeddy Wing
Bind a few F<n> keys to activate frequently used applications.