Fix binding clash between smartscan and consult
This commit is contained in:
parent
f972147a4a
commit
3ed9686671
|
@ -20,6 +20,7 @@
|
||||||
|
|
||||||
(use-package smartscan
|
(use-package smartscan
|
||||||
:config
|
:config
|
||||||
|
(unbind-key "M-'" smartscan-map)
|
||||||
(defvar-local smartscan-exclude-modes '(cider-repl-mode
|
(defvar-local smartscan-exclude-modes '(cider-repl-mode
|
||||||
ielm-mode
|
ielm-mode
|
||||||
vterm-mode
|
vterm-mode
|
||||||
|
@ -35,7 +36,9 @@
|
||||||
(dolist (mode smartscan-exclude-modes)
|
(dolist (mode smartscan-exclude-modes)
|
||||||
(add-hook (intern (concat (symbol-name mode) "-hook")) #'turn-off-smartscan-mode))
|
(add-hook (intern (concat (symbol-name mode) "-hook")) #'turn-off-smartscan-mode))
|
||||||
:hook
|
:hook
|
||||||
(after-init . global-smartscan-mode))
|
(after-init . global-smartscan-mode)
|
||||||
|
:bind (:map smartscan-map
|
||||||
|
("C-M-'" . smartscan-symbol-replace)))
|
||||||
|
|
||||||
(use-package symbol-overlay
|
(use-package symbol-overlay
|
||||||
:bind
|
:bind
|
||||||
|
|
Loading…
Reference in New Issue