aboutsummaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorTeddy Wing2019-07-06 19:07:20 +0200
committerTeddy Wing2019-07-06 19:08:36 +0200
commit5c606f8ecb78aa970546b2cf8f8b704599159469 (patch)
tree1132cfbd5b2bf1f3ae027b97190b90c9b67aba2f /init.lua
parentab1c7fed8f68afa8b676eaa6682f21f237c2f5d7 (diff)
downloaddothammerspoon-5c606f8ecb78aa970546b2cf8f8b704599159469.tar.bz2
init.lua: Remove Ctrl-Option-z shortcut
Now that WindowMode has the `c` shortcut which does the same thing, we no longer need this shortcut. It was also shadowing a Ctrl-Option-Shift-z shortcut I have attached to the "Zoom" menu item in iTerm2. Now the Zoom shortcut works there.
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua10
1 files changed, 0 insertions, 10 deletions
diff --git a/init.lua b/init.lua
index c03f55a..b3baca8 100644
--- a/init.lua
+++ b/init.lua
@@ -27,16 +27,6 @@ hs.loadSpoon('WindowMode')
spoon.WindowMode:bindHotkeys({ mode = {{'ctrl', 'option'}, 'w'} })
--- Maximise window height
-hs.hotkey.bind({'ctrl', 'alt'}, 'z', function()
- local win = hs.window.frontmostWindow()
- local f = win:frame()
-
- f.h = hs.screen.mainScreen():frame().h
- win:setFrame(f)
-end)
-
-
-- Shortcut to invert screen colours
hs.hotkey.bind({}, 'f8', function()
hs.eventtap.keyStroke({'cmd', 'option', 'ctrl'}, '8')