summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-10-14 09:48:14 -0400
committerKjetil Orbekk <kj@orbekk.com>2022-10-14 09:48:14 -0400
commit7088d45f8ee567e7cf2510425b9dbc8f3ef2dfe6 (patch)
tree276e7b84db9679ae049e72011e0a5d6ff82f7992 /emacs
parent82a7775f32a47baa5ea432f29d0be9bad7244ff3 (diff)
add anzu mode
Diffstat (limited to 'emacs')
-rw-r--r--emacs/.config/emacs-kj/init.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 5e9c9f7..6e67939 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -335,6 +335,12 @@
ediff-split-window-function #'split-window-horizontally
ediff-window-setup-function #'ediff-setup-windows-plain))
+(use-package anzu
+ :config
+ (global-anzu-mode +1)
+ (global-set-key [remap query-replace] 'anzu-query-replace)
+ (global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp))
+
(defun meow-setup ()
(setq meow-cheatsheet-layout meow-cheatsheet-layout-dvorak)
(meow-leader-define-key