[hammerspoon] add cheatsheet (disabled)

This commit is contained in:
Dmytro Meleshko 2018-08-28 19:58:52 +03:00
parent 1ed0a3756f
commit 33f03d7d91
2 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,8 @@
hs.loadSpoon("KSheet")
modal = hs.hotkey.modal.new({"cmd", "alt", "ctrl"}, "c")
function modal:entered() spoon.KSheet:show() end
function modal:exited() spoon.KSheet:hide() end
modal:bind('', 'escape', function() modal:exit() end)

View file

@ -1,3 +1,4 @@
require "TerminalPalette" require "TerminalPalette"
-- require "cheatsheet"
hs.notify.show("Hammerspoon", "", "Hammespoon config loaded") hs.notify.show("Hammerspoon", "", "Hammespoon config loaded")