about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-navigation.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-17 16:28:05 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-17 20:50:00 +0100
commit3ed968667143520e64ab52604955ee5e49fd1455 (patch)
treeb602fff43988e53ad052a0c7cabe80331ff3eac7 /.emacs.d/lisp/init-navigation.el
parentf972147a4a924f91502611bfc1f58135b7b71cf0 (diff)
downloaddotfiles-3ed968667143520e64ab52604955ee5e49fd1455.tar.gz
Fix binding clash between smartscan and consult
Diffstat (limited to '.emacs.d/lisp/init-navigation.el')
-rw-r--r--.emacs.d/lisp/init-navigation.el5
1 files changed, 4 insertions, 1 deletions
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