From fe8abdbb5e3a51bb17e6364df706851015081913 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 6 Aug 2019 20:56:05 +0200 Subject: Remove F5 Chrome extension reloader, replace with iTerm app switch 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. --- application_switch.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'application_switch.lua') diff --git a/application_switch.lua b/application_switch.lua index 835acb3..a281d5f 100644 --- a/application_switch.lua +++ b/application_switch.lua @@ -18,13 +18,13 @@ application_switch['f4'] = hs.hotkey.bind({}, 'f4', function() hs.application.find('com.microsoft.rdc.osx.beta'):activate() end) -application_switch['f6'] = hs.hotkey.bind({}, 'f6', function() +application_switch['f5'] = hs.hotkey.bind({}, 'f5', function() hs.application.find('com.googlecode.iterm2'):activate(activateAllWindows) end) -- Rebind Shift-F[n] to F[n] -for _, key in ipairs({'f1', 'f2', 'f3', 'f4', 'f6'}) do +for _, key in ipairs({'f1', 'f2', 'f3', 'f4', 'f5'}) do hs.hotkey.bind({'shift'}, key, function() application_switch[key]:disable() -- cgit v1.2.3