[Hydra] Move custom hydras to ‘use-package’ declaration

This commit is contained in:
Daniel Borchmann 2018-01-27 17:57:36 +01:00
parent e459d534bf
commit 7d8abe0e50
Signed by: exot
GPG Key ID: 4F63DB96D45AA9C6

View File

@ -568,7 +568,12 @@
(use-package db-emacsclient)
(use-package hydra)
(use-package hydra
:commands (defhydra
hydra-toggle/body
hydra-zoom/body
hydra-rectangle/body)
:config
(defhydra hydra-toggle (:color blue)
"toggle"
@ -611,7 +616,7 @@ _h_ _l_ _o_k _y_ank
("u" undo nil)
("s" string-rectangle nil)
("p" kill-rectangle nil)
("o" nil nil))
("o" nil nil)))
(use-package magit
:commands (magit-status)