From 94d12e2fdc7d835824c23a3d665b5d0364fbe8a7 Mon Sep 17 00:00:00 2001 From: Laurens Miers Date: Tue, 6 Jun 2023 10:33:42 +0200 Subject: [PATCH] fix: add hydra-zoom in use-package hydra Otherwise defhydra is not known --- config.org | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/config.org b/config.org index ae1edec..08fcdbf 100644 --- a/config.org +++ b/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 "") + "zoom" + ("g" text-scale-increase "in") + ("l" text-scale-decrease "out") + ) + ) #+END_SRC -** Hydra Zoom - -#+BEGIN_SRC emacs-lisp -(defhydra hydra-zoom (global-map "") - "zoom" - ("g" text-scale-increase "in") - ("l" text-scale-decrease "out")) -#+END_SRC - * Dashboard I use the dashboard as start screen.