summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs.d/custom/fcuny-hydra.el11
-rw-r--r--emacs.d/custom/fcuny-ui.el3
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)