aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-08-06 20:56:05 +0200
committerTeddy Wing2019-08-06 20:56:05 +0200
commitfe8abdbb5e3a51bb17e6364df706851015081913 (patch)
treebb71f3bfcfa9ac6a15b79aaed08d6b2352c00542 /init.lua
parent1efe20885ce4f1b0f138a10881e721a2555abba4 (diff)
downloaddothammerspoon-fe8abdbb5e3a51bb17e6364df706851015081913.tar.bz2
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.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua15
1 files changed, 0 insertions, 15 deletions
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)