Fix binding clash between smartscan and consult

This commit is contained in:
David Morgan 2022-10-17 16:28:05 +01:00
parent f972147a4a
commit 3ed9686671
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 4 additions and 1 deletions

View File

@ -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