add hydra emacs
This commit is contained in:
parent
95744ba1f3
commit
45f5e3a7e7
|
@ -187,11 +187,22 @@
|
||||||
(evil-set-initial-state 'messages-buffer-mode 'normal)
|
(evil-set-initial-state 'messages-buffer-mode 'normal)
|
||||||
(evil-set-initial-state 'dashboard-mode 'normal))
|
(evil-set-initial-state 'dashboard-mode 'normal))
|
||||||
|
|
||||||
|
;; extra things for Evil
|
||||||
(use-package evil-collection
|
(use-package evil-collection
|
||||||
:after evil
|
:after evil
|
||||||
:config
|
:config
|
||||||
(evil-collection-init))
|
(evil-collection-init))
|
||||||
|
|
||||||
|
;; hydra for text scale
|
||||||
|
(use-package hydra)
|
||||||
|
(defhydra hydra-text-scale (:timeout 4)
|
||||||
|
"scale text"
|
||||||
|
("j" text-scale-increase "in")
|
||||||
|
("k" text-scale-decrease "out")
|
||||||
|
("f" nil "finished" :exit t))
|
||||||
|
|
||||||
|
(sakomacs/leader-keys
|
||||||
|
"ts" '(hydra-text-scale/body :which-key "scale text"))
|
||||||
|
|
||||||
;; video
|
;; video
|
||||||
;; https://youtu.be/xaZMwNELaJY?t=1707
|
;; https://youtu.be/xaZMwNELaJY?t=1707
|
||||||
|
|
Loading…
Reference in a new issue