summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-17 13:00:04 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-17 13:00:04 +0200
commit5bd6df1b2816e7be92d67cc114e736fdcc2571eb (patch)
tree2be35254f78899b9588c84fa0725671fa2179735
parentbd626b295f11b282066d0741c129dfdbe3b5cb8f (diff)
emacs: Disable the <return> binding for multiple cursors
-rw-r--r--.config/emacs/modules/mm-editing.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/.config/emacs/modules/mm-editing.el b/.config/emacs/modules/mm-editing.el
index 1952e9f..e714e0f 100644
--- a/.config/emacs/modules/mm-editing.el
+++ b/.config/emacs/modules/mm-editing.el
@@ -159,7 +159,9 @@ region are marked, otherwise all matches in the buffer are marked."
helpful-symbol
helpful-variable))
(add-to-list 'mc/cmds-to-run-once command))
- (add-to-list 'mc/unsupported-minor-modes #'corfu-mode)))
+ (add-to-list 'mc/unsupported-minor-modes #'corfu-mode))
+ :config
+ (keymap-unset mc/keymap "<return>" :remove))
;;; Increment Numbers