Move anzu

This commit is contained in:
David Morgan 2021-08-23 17:04:53 +01:00
parent 7400172574
commit 006d13b5c2
2 changed files with 17 additions and 17 deletions

View File

@ -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

View File

@ -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