From 808def04ffe61b2b0da20ebd80c18e9938a7eed4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Sun, 15 Mar 2020 19:18:14 -0700 Subject: emacs: new module for hydra There might be a bunch of stuff related to hydra that I will add, so move the configuration to its own package to make it easier in the future. --- emacs.d/custom/fcuny-hydra.el | 11 +++++++++++ emacs.d/custom/fcuny-ui.el | 3 --- 2 files changed, 11 insertions(+), 3 deletions(-) create mode 100644 emacs.d/custom/fcuny-hydra.el diff --git a/emacs.d/custom/fcuny-hydra.el b/emacs.d/custom/fcuny-hydra.el new file mode 100644 index 0000000..87a3620 --- /dev/null +++ b/emacs.d/custom/fcuny-hydra.el @@ -0,0 +1,11 @@ +(use-package hydra + :ensure t) + +(use-package major-mode-hydra + :after (hydra) + :demand t + :ensure t + :bind + ("M-SPC" . major-mode-hydra)) + +(provide 'fcuny-hydra) diff --git a/emacs.d/custom/fcuny-ui.el b/emacs.d/custom/fcuny-ui.el index 23c51b8..63476aa 100644 --- a/emacs.d/custom/fcuny-ui.el +++ b/emacs.d/custom/fcuny-ui.el @@ -48,7 +48,4 @@ (setq uniquify-buffer-name-style 'forward) (setq uniquify-separator "/")) -(use-package hydra - :ensure t) - (provide 'fcuny-ui) -- cgit 1.4.1