diff options
author | Jesús <heckyel@hyperbola.info> | 2022-10-17 05:10:24 +0800 |
---|---|---|
committer | Jesús <heckyel@hyperbola.info> | 2022-10-17 05:10:24 +0800 |
commit | b34a82ace3282bfba34b57096ca3c59bfa4f280e (patch) | |
tree | 0fd6810fea052f0d7622281329acb851d2377c5a | |
parent | 66d2dafed292386f951ad1c6086d4a9eb372acd5 (diff) | |
download | emacs-personal-b34a82ace3282bfba34b57096ca3c59bfa4f280e.tar.lz emacs-personal-b34a82ace3282bfba34b57096ca3c59bfa4f280e.tar.xz emacs-personal-b34a82ace3282bfba34b57096ca3c59bfa4f280e.zip |
Remove anzu from mode-line
-rw-r--r-- | modules/init-modeline.el | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/modules/init-modeline.el b/modules/init-modeline.el index 94640a1..08155ad 100644 --- a/modules/init-modeline.el +++ b/modules/init-modeline.el @@ -13,27 +13,6 @@ :config (setq column-number-mode t) ) -(use-package anzu - :config - (custom-set-variables - '(anzu-search-threshold 1000) - '(anzu-replace-threshold 1000) - '(anzu-deactivate-region t) - '(anzu-input-idle-delay 0.1) - '(anzu-replace-to-string-separator " => ")) - (global-anzu-mode +1) - (set-face-attribute 'anzu-mode-line nil - :foreground "yellow" :weight 'bold) - - (define-key isearch-mode-map [remap isearch-query-replace] #'anzu-isearch-query-replace) - (define-key isearch-mode-map [remap isearch-query-replace-regexp] #'anzu-isearch-query-replace-regexp) - - ;;---------------------------------------------------------------------------- - ;; Keyboard shortcuts in Anzu Mode - ;;---------------------------------------------------------------------------- - (global-set-key (kbd "M-%") 'anzu-query-replace) - (global-set-key (kbd "s-<SPC>") 'anzu-query-replace)) - (provide 'init-modeline) ;; End: |