summaryrefslogtreecommitdiff
path: root/.config/emacs/modules
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2026-03-20 16:36:50 +0100
committerThomas Voss <thomas.voss@humanwave.nl> 2026-03-20 16:36:50 +0100
commitb64b74516c0e5dd3fa153770fe90c813baa6aa68 (patch)
tree12088211de3433d3251cb38eff1a0f0589ffe1fb /.config/emacs/modules
parent4052c02106550f7a33677d28103310fd46b791fd (diff)
emacs: Map ‘C-c m’ to ‘mm-humanwave-insert-last-commit-message’
Diffstat (limited to '.config/emacs/modules')
-rw-r--r--.config/emacs/modules/mm-keybindings.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el
index 929dd02..aae9b4d 100644
--- a/.config/emacs/modules/mm-keybindings.el
+++ b/.config/emacs/modules/mm-keybindings.el
@@ -162,6 +162,11 @@ the first command is remapped to the second command."
(mm-keymap-set eat-semi-char-mode-map
"M-o" #'ace-window)))
+(with-eval-after-load 'minibuffer
+ (when mm-humanwave-p
+ (mm-keymap-set minibuffer-mode-map
+ "C-c m" #'mm-humanwave-insert-last-commit-message)))
+
;;; Display Available Keybindings