summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/emacs/modules/mm-humanwave.el2
-rw-r--r--.config/emacs/modules/mm-keybindings.el8
2 files changed, 8 insertions, 2 deletions
diff --git a/.config/emacs/modules/mm-humanwave.el b/.config/emacs/modules/mm-humanwave.el
index 3aa97b3..719e4d6 100644
--- a/.config/emacs/modules/mm-humanwave.el
+++ b/.config/emacs/modules/mm-humanwave.el
@@ -32,8 +32,6 @@ If METHOD is nil, a GET request is performed."
(goto-char (point-min)))
(display-buffer output-buffer))))
-(keymap-set project-prefix-map "q" #'mm-humanwave-query)
-
;;; IMenu Support for Handlers
diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el
index 3aa548e..f7038ea 100644
--- a/.config/emacs/modules/mm-keybindings.el
+++ b/.config/emacs/modules/mm-keybindings.el
@@ -146,6 +146,14 @@ the first command is remapped to the second command."
"i" #'increment-number-at-point))
+;;; Other Bindings
+
+(when mm-humanwave-p
+ (with-eval-after-load 'project
+ (mm-keymap-set project-prefix-map
+ "q" #'mm-humanwave-query)))
+
+
;;; Display Available Keybindings
(use-package which-key