From 3ed968667143520e64ab52604955ee5e49fd1455 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 17 Oct 2022 16:28:05 +0100 Subject: [PATCH] Fix binding clash between smartscan and consult --- .emacs.d/lisp/init-navigation.el | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.emacs.d/lisp/init-navigation.el b/.emacs.d/lisp/init-navigation.el index 2ad08f5..714a95e 100644 --- a/.emacs.d/lisp/init-navigation.el +++ b/.emacs.d/lisp/init-navigation.el @@ -20,6 +20,7 @@ (use-package smartscan :config + (unbind-key "M-'" smartscan-map) (defvar-local smartscan-exclude-modes '(cider-repl-mode ielm-mode vterm-mode @@ -35,7 +36,9 @@ (dolist (mode smartscan-exclude-modes) (add-hook (intern (concat (symbol-name mode) "-hook")) #'turn-off-smartscan-mode)) :hook - (after-init . global-smartscan-mode)) + (after-init . global-smartscan-mode) + :bind (:map smartscan-map + ("C-M-'" . smartscan-symbol-replace))) (use-package symbol-overlay :bind