]> git.armaanb.net Git - config.org.git/commitdiff
Use anzu properly
authorArmaan Bhojwani <me@armaanb.net>
Fri, 28 May 2021 02:05:29 +0000 (22:05 -0400)
committerArmaan Bhojwani <me@armaanb.net>
Fri, 28 May 2021 02:05:29 +0000 (22:05 -0400)
config.org

index 2775c75034fa908c859b68efacfd55957c96c6cb..58575bfbee8d484243ace6468939234cc7b36f10 100644 (file)
@@ -143,7 +143,10 @@ Soft wrap words and do operations by visual lines except in programming modes.
 ** Display number of matches in search
 #+begin_src emacs-lisp
   (use-package anzu
-    :config (global-anzu-mode))
+    :config (global-anzu-mode)
+    :bind
+    ([remap query-replace] . anzu-query-replace)
+    ([remap query-replace-regexp] . anzu-query-replace-regexp))
 #+end_src
 ** Visual bell
 Invert modeline color instead of audible bell or the standard visual bell.