(Emacs/core)+package hydra and use-package-hydra
Defines persistent sub-key-maps which can provide some really nice behavior.
This commit is contained in:
@@ -747,3 +747,16 @@ for all snippets I've got.
|
|||||||
:config
|
:config
|
||||||
(yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets")))
|
(yas-load-directory (no-littering-expand-etc-file-name "yasnippet/snippets")))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
* Hydra
|
||||||
|
Hydra is a great package by =abo-abo= (yes the same guy who made ivy
|
||||||
|
and swiper) and I hope to use it later on in the config. There are
|
||||||
|
two use-package declarations here: one for ~hydra~ itself, and the
|
||||||
|
other for ~use-package-hydra~ which provides the keyword ~:hydra~ in
|
||||||
|
use-package declarations.
|
||||||
|
#+begin_src emacs-lisp
|
||||||
|
(use-package hydra
|
||||||
|
:straight t)
|
||||||
|
|
||||||
|
(use-package use-package-hydra
|
||||||
|
:straight t)
|
||||||
|
#+end_src
|
||||||
|
|||||||
Reference in New Issue
Block a user