feat: enable ivy-hydra + move hydra

This commit is contained in:
Laurens Miers 2023-06-07 16:09:12 +02:00
parent 667b311e32
commit 68d9e58c51

View file

@ -10,6 +10,7 @@
- [[#base-packages-to-install-first][Base packages to install first]] - [[#base-packages-to-install-first][Base packages to install first]]
- [[#elpaca][Elpaca]] - [[#elpaca][Elpaca]]
- [[#diminish][Diminish]] - [[#diminish][Diminish]]
- [[#hydra][Hydra]]
- [[#ivy][Ivy]] - [[#ivy][Ivy]]
- [[#flx][flx]] - [[#flx][flx]]
- [[#ivy-1][Ivy]] - [[#ivy-1][Ivy]]
@ -39,7 +40,6 @@
- [[#which-key][Which-key]] - [[#which-key][Which-key]]
- [[#theme][Theme]] - [[#theme][Theme]]
- [[#highlight-line][Highlight line]] - [[#highlight-line][Highlight line]]
- [[#hydra][Hydra]]
- [[#dashboard][Dashboard]] - [[#dashboard][Dashboard]]
- [[#zygospore][Zygospore]] - [[#zygospore][Zygospore]]
- [[#mode-line][Mode-line]] - [[#mode-line][Mode-line]]
@ -240,6 +240,22 @@ https://github.com/emacsmirror/diminish
) )
#+end_src #+end_src
** Hydra
https://github.com/abo-abo/hydra
#+begin_src emacs-lisp
(use-package hydra
:config
;; Hydra zoom
(defhydra hydra-zoom (global-map "<f2>")
"zoom"
("g" text-scale-increase "in")
("l" text-scale-decrease "out")
)
)
#+end_src
* Ivy * Ivy
** flx ** flx
@ -295,8 +311,14 @@ https://github.com/abo-abo/swiper
("C-s" . swiper) ("C-s" . swiper)
) )
) )
(use-package ivy-hydra
:after (ivy hydra)
)
#+end_src #+end_src
#+RESULTS:
* Utils * Utils
** Custom command line arguments ** Custom command line arguments
@ -621,23 +643,6 @@ Enable highlight-line globally and replace its background colour.
(set-face-background hl-line-face "dark slate grey") (set-face-background hl-line-face "dark slate grey")
#+END_SRC #+END_SRC
* Hydra
https://github.com/abo-abo/hydra
#+BEGIN_SRC emacs-lisp
(use-package hydra
:config
;; Hydra zoom
(defhydra hydra-zoom (global-map "<f2>")
"zoom"
("g" text-scale-increase "in")
("l" text-scale-decrease "out")
)
)
#+END_SRC
* Dashboard * Dashboard
I use the dashboard as start screen. I use the dashboard as start screen.