]> git.armaanb.net Git - config.org.git/blobdiff - config.org
Use anzu properly
[config.org.git] / config.org
index 87a9ff3162cc221abe107ef4b9b25e644a26ab6a..58575bfbee8d484243ace6468939234cc7b36f10 100644 (file)
@@ -120,13 +120,6 @@ Show a ruler at a certain number of chars depending on mode.
   (setq display-fill-column-indicator-column 80)
   (global-display-fill-column-indicator-mode)
 #+end_src
-** Keybinding hints
-When starting a key chord, show possible future steps after 0.3 seconds.
-#+begin_src emacs-lisp
-  (use-package which-key
-    :config (which-key-mode)
-    :custom (which-key-idle-delay 0.3))
-#+end_src
 ** Highlight todo items in comments
 #+begin_src emacs-lisp
   (use-package hl-todo
@@ -150,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.