diff options
author | noa@gaiwan.org | 2024-06-14 14:40:12 +0000 |
---|---|---|
committer | noa@gaiwan.org | 2024-06-14 14:40:12 +0000 |
commit | 5011a4fa9d911ca7c61d035c8f55e34dc10af0c1 (patch) | |
tree | 5212001a31c9f7d5a1210afb2503e16b607a9adb /emacs/init.el | |
parent | 618d274e329b6bea0f5e0f677e7ff0f608d4dc08 (diff) |
Use anzu instead of query-replace commands
Diffstat (limited to 'emacs/init.el')
-rw-r--r-- | emacs/init.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el index 387b75b..6cf669e 100644 --- a/emacs/init.el +++ b/emacs/init.el @@ -860,3 +860,9 @@ The misspelled word is taken from OVERLAY. WORD is the corrected word." calendar-mark-holidays-flag t calendar-date-style 'iso) + +;;; Replace +;; Anzu provides real-time updates to the replacement string when running query-replace. +(use-package anzu :ensure t) +(global-set-key [remap query-replace] 'anzu-query-replace) +(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp) |