Files
.emacs.d/modules/navigation/siren-anzu.el
Jim Myhrberg 395ad7ccac fix(startup): correctly setup deferred loading for various packages
This just ensures that various packages that can defer loading actually
does defer until they're first used.
2021-02-17 01:52:59 +00:00

32 lines
720 B
EmacsLisp

;;; siren-anzu.el --- jimeh's Emacs Siren: anzu configuration.
;;; Commentary:
;; Basic configuration for anzu.
;;; Code:
(use-package anzu
:bind
("C-x C-r" . anzu-query-replace-regexp)
("M-%" . anzu-query-replace)
:custom
(anzu-mode-lighter "")
(anzu-deactivate-region t)
(anzu-search-threshold 1000)
(anzu-replace-threshold 50)
(anzu-replace-to-string-separator " => ")
:config
(set-face-attribute 'anzu-mode-line nil
:foreground "yellow" :weight 'bold)
(global-set-key [remap query-replace] 'anzu-query-replace)
(global-set-key [remap query-replace-regexp] 'anzu-query-replace-regexp)
(global-anzu-mode +1))
(provide 'siren-anzu)
;;; siren-anzu.el ends here