about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-editor.el
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-21 19:45:22 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-21 19:45:22 +0100
commit1165ee988f9dc12b98e13f19905d10c95038df14 (patch)
treed9bc63197bd48b153e67c4570c6eddaeae39259c /.emacs.d/lisp/init-editor.el
parentc6ec2458e4049482a3c4c946dc305765c79df0b8 (diff)
downloaddotfiles-1165ee988f9dc12b98e13f19905d10c95038df14.tar.gz
Add anzu isearch bindings
Diffstat (limited to '.emacs.d/lisp/init-editor.el')
-rw-r--r--.emacs.d/lisp/init-editor.el5
1 files changed, 4 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 2c0936c..22daf5a 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -160,7 +160,10 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
   (anzu-replace-to-string-separator " => ")
   :bind
   ([remap query-replace] . anzu-query-replace)
-  ([remap query-replace-regexp] . anzu-query-replace-regexp))
+  ([remap query-replace-regexp] . anzu-query-replace-regexp)
+  (:map isearch-mode-map
+        ([remap isearch-query-replace] . anzu-isearch-query-replace)
+        ([remap isearch-query-replace-regexp] . anzu-isearch-query-replace-regexp)))
 
 (use-package midnight)