From 6491459204d25e4e5b5c480f594cd88a97c958ce Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Wed, 19 Jun 2019 21:54:03 +0200 Subject: 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. --- application_switch.lua | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'application_switch.lua') 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 -- cgit v1.2.3