aboutsummaryrefslogtreecommitdiffstats
path: root/application_switch.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-06-19 21:54:03 +0200
committerTeddy Wing2019-06-19 21:56:50 +0200
commit6491459204d25e4e5b5c480f594cd88a97c958ce (patch)
treeda96e14632a262089126ec33bf7ac5d858edfe2d /application_switch.lua
parentc1b42e6e643d77a8d8e98157b4f9c48aa5451ae6 (diff)
downloaddothammerspoon-6491459204d25e4e5b5c480f594cd88a97c958ce.tar.bz2
application_switch: Prefer left-handed shortcuts for mode mappings
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.
Diffstat (limited to 'application_switch.lua')
-rw-r--r--application_switch.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/application_switch.lua b/application_switch.lua
index aa00fc1..87b966a 100644
--- a/application_switch.lua
+++ b/application_switch.lua
@@ -19,7 +19,9 @@ end)
-- Mode to activate lesser-used applications
application_switch_mode = hs.hotkey.modal.new({}, 'f13')
-application_switch_mode:bind({}, 'l', function()
+--TODO: Deactivate with F13
+
+application_switch_mode:bind({}, 'q', function()
hs.application.find('org.libreoffice.script'):activate(activateAllWindows)
application_switch_mode:exit()
@@ -31,7 +33,7 @@ application_switch_mode:bind({}, 'w', function()
application_switch_mode:exit()
end)
-application_switch_mode:bind({}, 't', function()
+application_switch_mode:bind({}, 'f', function()
hs.application.find('com.googlecode.iterm2'):activate(activateAllWindows)
application_switch_mode:exit()
@@ -39,5 +41,3 @@ end)
-- TODO: Don't do that with a mode, just a list of keys, as the mode sometimes
-- doesn't activate quick enough
-
--- TODO: If we stick with F13, maybe bind keys under the left hand to make it usable without looking