Remove anzu from mode-line
This commit is contained in:
parent
66d2dafed2
commit
b34a82ace3
@ -13,27 +13,6 @@
|
|||||||
:config (setq column-number-mode t)
|
: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)
|
(provide 'init-modeline)
|
||||||
|
|
||||||
;; End:
|
;; End:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user