fix: add hydra-zoom in use-package hydra
Otherwise defhydra is not known
This commit is contained in:
parent
a41c688aea
commit
94d12e2fdc
1 changed files with 8 additions and 10 deletions
18
config.org
18
config.org
|
|
@ -38,7 +38,6 @@
|
|||
- [[#theme][Theme]]
|
||||
- [[#highlight-line][Highlight line]]
|
||||
- [[#hydra][Hydra]]
|
||||
- [[#hydra-zoom][Hydra Zoom]]
|
||||
- [[#dashboard][Dashboard]]
|
||||
- [[#zygospore][Zygospore]]
|
||||
- [[#mode-line][Mode-line]]
|
||||
|
|
@ -594,18 +593,17 @@ https://github.com/abo-abo/hydra
|
|||
#+BEGIN_SRC emacs-lisp
|
||||
(use-package hydra
|
||||
:ensure t
|
||||
:config
|
||||
;; Hydra zoom
|
||||
(defhydra hydra-zoom (global-map "<f2>")
|
||||
"zoom"
|
||||
("g" text-scale-increase "in")
|
||||
("l" text-scale-decrease "out")
|
||||
)
|
||||
|
||||
)
|
||||
#+END_SRC
|
||||
|
||||
** Hydra Zoom
|
||||
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(defhydra hydra-zoom (global-map "<f2>")
|
||||
"zoom"
|
||||
("g" text-scale-increase "in")
|
||||
("l" text-scale-decrease "out"))
|
||||
#+END_SRC
|
||||
|
||||
* Dashboard
|
||||
|
||||
I use the dashboard as start screen.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue