diff options
| author | Thomas Voss <thomas.voss@humanwave.nl> | 2026-02-09 13:18:45 +0100 |
|---|---|---|
| committer | Thomas Voss <thomas.voss@humanwave.nl> | 2026-02-09 13:18:45 +0100 |
| commit | 4df49b1a68a1c5a17f9da209723622e7d12ad283 (patch) | |
| tree | a5b8f65c88bd862b48e5712b0f5434d669bb5786 /.config/emacs/modules | |
| parent | 55c70a76813d90211cce692c377dccb64fdc1d8f (diff) | |
emacs: Move binding definition
Diffstat (limited to '.config/emacs/modules')
| -rw-r--r-- | .config/emacs/modules/mm-humanwave.el | 2 | ||||
| -rw-r--r-- | .config/emacs/modules/mm-keybindings.el | 8 |
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 |