diff options
Diffstat (limited to '.emacs.d/lisp')
-rw-r--r-- | .emacs.d/lisp/init-editor.el | 17 | ||||
-rw-r--r-- | .emacs.d/lisp/init-search.el | 17 |
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 |