summaryrefslogtreecommitdiff
path: root/.config/emacs
diff options
context:
space:
mode:
authorThomas Voss <thomas.voss@humanwave.nl> 2026-02-27 10:31:59 +0100
committerThomas Voss <thomas.voss@humanwave.nl> 2026-02-27 10:33:01 +0100
commitd022b8078a670a8f919d22b44cd1a8b8c49614d4 (patch)
tree63d770a4b3e77e70eb3351207891c8311e6ffa20 /.config/emacs
parent3c8f16ffcb471e8f8793eefaa7b58975f4864ca1 (diff)
emacs: Remap project-.*-regexp commands to their mm- versions
Diffstat (limited to '.config/emacs')
-rw-r--r--.config/emacs/modules/mm-keybindings.el13
1 files changed, 6 insertions, 7 deletions
diff --git a/.config/emacs/modules/mm-keybindings.el b/.config/emacs/modules/mm-keybindings.el
index 432c64e..0df92ce 100644
--- a/.config/emacs/modules/mm-keybindings.el
+++ b/.config/emacs/modules/mm-keybindings.el
@@ -90,11 +90,6 @@ the first command is remapped to the second command."
open-line e/open-line
yank e/yank)
-(with-eval-after-load 'project
- (mm-keymap-remap project-prefix-map
- project-find-regexp mm-project-find-regexp
- project-or-external-find-regexp mm-project-or-external-find-regexp))
-
(with-eval-after-load 'cc-vars
(setopt c-backspace-function #'backward-delete-char))
@@ -153,8 +148,12 @@ the first command is remapped to the second command."
;;; Other Bindings
-(when mm-humanwave-p
- (with-eval-after-load 'project
+(with-eval-after-load 'project
+ (mm-keymap-set project-prefix-map
+ "g" #'mm-project-find-regexp
+ "G" #'mm-project-or-external-find-regexp)
+
+ (when mm-humanwave-p
(mm-keymap-set project-prefix-map
"q" #'mm-humanwave-query)))