diff options
author | Franck Cuny <franck.cuny@gmail.com> | 2020-03-15 19:18:14 -0700 |
---|---|---|
committer | Franck Cuny <franck.cuny@gmail.com> | 2020-03-15 19:18:14 -0700 |
commit | 808def04ffe61b2b0da20ebd80c18e9938a7eed4 (patch) | |
tree | b083667bcea4630e154ed2bc4f6bfc44de219261 /emacs.d/custom | |
parent | emacs: consolidate configuration for conf-mode (diff) | |
download | emacs.d-808def04ffe61b2b0da20ebd80c18e9938a7eed4.tar.gz |
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.
Diffstat (limited to 'emacs.d/custom')
-rw-r--r-- | emacs.d/custom/fcuny-hydra.el | 11 | ||||
-rw-r--r-- | emacs.d/custom/fcuny-ui.el | 3 |
2 files changed, 11 insertions, 3 deletions
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) |