aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--application_switch.lua4
-rw-r--r--init.lua15
2 files changed, 2 insertions, 17 deletions
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()
diff --git a/init.lua b/init.lua
index 95a436c..a8203eb 100644
--- a/init.lua
+++ b/init.lua
@@ -32,18 +32,3 @@ spoon.WindowMode:bindHotkeys({ mode = {{'ctrl', 'option'}, 'w'} })
hs.hotkey.bind({}, 'f8', function()
hs.eventtap.keyStroke({'cmd', 'option', 'ctrl'}, '8')
end)
-
--- Temporary browser extension reload mapping
-hs.hotkey.bind({}, 'f5', function()
- hs.eventtap.keyStroke({'ctrl', 'option'}, 'u')
- hs.timer.doAfter(0.5, function()
- hs.eventtap.keyStroke({}, 'r')
- end)
-
- hs.timer.doAfter(10, function()
- hs.eventtap.keyStroke({'ctrl', 'option'}, 'o')
- hs.timer.doAfter(0.5, function()
- hs.eventtap.keyStroke({}, '0')
- end)
- end)
-end)