dotfiles/hammerspoon/init.lua
2020-07-21 21:11:43 -04:00

17 lines
574 B
Lua

hs.loadSpoon("SpoonInstall")
spoon.SpoonInstall.use_syncinstall = true
spoon.SpoonInstall:andUse("WindowScreenLeftAndRight")
spoon.SpoonInstall:andUse("WindowHalfsAndThirds")
spoon.SpoonInstall:andUse("Commander")
spoon.WindowScreenLeftAndRight:bindHotkeys(spoon.WindowScreenLeftAndRight.defaultHotkeys)
spoon.WindowHalfsAndThirds:bindHotkeys(spoon.WindowHalfsAndThirds.defaultHotkeys)
hs.hotkey.bind({"cmd", "alt", "ctrl"}, "SPACE", function ()
spoon.Commander.show()
end)
hs.hotkey.bind({"ctrl"}, "t", function ()
hs.application.launchOrFocus("iTerm")
end)