diff options
author | Teddy Wing | 2019-07-06 19:07:20 +0200 |
---|---|---|
committer | Teddy Wing | 2019-07-06 19:08:36 +0200 |
commit | 5c606f8ecb78aa970546b2cf8f8b704599159469 (patch) | |
tree | 1132cfbd5b2bf1f3ae027b97190b90c9b67aba2f /init.lua | |
parent | ab1c7fed8f68afa8b676eaa6682f21f237c2f5d7 (diff) | |
download | dothammerspoon-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.lua | 10 |
1 files changed, 0 insertions, 10 deletions
@@ -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') |