From 5c606f8ecb78aa970546b2cf8f8b704599159469 Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sat, 6 Jul 2019 19:07:20 +0200 Subject: 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. --- init.lua | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'init.lua') 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') -- cgit v1.2.3