about summary refs log tree commit diff stats
path: root/.emacs.d
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2021-08-23 17:04:53 +0100
committerDavid Morgan <djm_uk@protonmail.com>2021-08-23 17:04:53 +0100
commit006d13b5c2ce7134a129ac53c41365fccf26a56f (patch)
tree36b0d5805dd3ec55a7a29282e99e6340ea61ccbb /.emacs.d
parent740017257461dd442a482521fb1d2c85ddaf66d8 (diff)
downloaddotfiles-006d13b5c2ce7134a129ac53c41365fccf26a56f.tar.gz
Move anzu
Diffstat (limited to '.emacs.d')
-rw-r--r--.emacs.d/lisp/init-editor.el17
-rw-r--r--.emacs.d/lisp/init-search.el17
2 files changed, 17 insertions, 17 deletions
diff --git a/.emacs.d/lisp/init-editor.el b/.emacs.d/lisp/init-editor.el
index 5b24397..f1ab1c3 100644
--- a/.emacs.d/lisp/init-editor.el
+++ b/.emacs.d/lisp/init-editor.el
@@ -141,23 +141,6 @@ and file 'filename' will be opened and cursor set on line 'linenumber'"
   (bookmark-default-file (expand-file-name "bookmarks" save-dir))
   (bookmark-save-flag 1))
 
-(use-package anzu
-  :diminish
-  :config
-  (global-anzu-mode)
-  (set-face-attribute 'anzu-mode-line nil :foreground "yellow" :weight 'bold)
-  :custom
-  (anzu-deactivate-region t)
-  (anzu-search-threshold 1000)
-  (anzu-replace-threshold 100)
-  (anzu-replace-to-string-separator " => ")
-  :bind
-  ([remap query-replace] . anzu-query-replace)
-  ([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)
 
 (use-package re-builder
diff --git a/.emacs.d/lisp/init-search.el b/.emacs.d/lisp/init-search.el
index 40b4005..c9a8305 100644
--- a/.emacs.d/lisp/init-search.el
+++ b/.emacs.d/lisp/init-search.el
@@ -24,5 +24,22 @@
   :after isearch
   :bind (:map isearch-mode-map ("M-/" . isearch-dabbrev-expand)))
 
+(use-package anzu
+  :diminish
+  :config
+  (global-anzu-mode)
+  (set-face-attribute 'anzu-mode-line nil :foreground "yellow" :weight 'bold)
+  :custom
+  (anzu-deactivate-region t)
+  (anzu-search-threshold 1000)
+  (anzu-replace-threshold 100)
+  (anzu-replace-to-string-separator " => ")
+  :bind
+  ([remap query-replace] . anzu-query-replace)
+  ([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)))
+
 (provide 'init-search)
 ;;; init-search.el ends here