Files
.emacs.d/modules/navigation/siren-anzu.el
Jim Myhrberg 87a86191db Majorly re-organize modules
- Split large modules into smaller parts (e.g. siren-text-manipulation)
- Organize modules into high level groups:
  - completion
  - core
  - editor
  - languages
  - linting
  - misc
  - navigation
  - projects
  - spelling
  - text-editing
  - version-control
  - windows
  - workspaces
2018-05-20 17:31:11 +01:00

29 lines
766 B
EmacsLisp

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