[Hydra] Move custom hydras to ‘use-package’ declaration
This commit is contained in:
parent
e459d534bf
commit
7d8abe0e50
9
init.el
9
init.el
@ -568,7 +568,12 @@
|
|||||||
|
|
||||||
(use-package db-emacsclient)
|
(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)
|
(defhydra hydra-toggle (:color blue)
|
||||||
"toggle"
|
"toggle"
|
||||||
@ -611,7 +616,7 @@ _h_ _l_ _o_k _y_ank
|
|||||||
("u" undo nil)
|
("u" undo nil)
|
||||||
("s" string-rectangle nil)
|
("s" string-rectangle nil)
|
||||||
("p" kill-rectangle nil)
|
("p" kill-rectangle nil)
|
||||||
("o" nil nil))
|
("o" nil nil)))
|
||||||
|
|
||||||
(use-package magit
|
(use-package magit
|
||||||
:commands (magit-status)
|
:commands (magit-status)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user