mirror of
https://github.com/correl/doom-modeline.git
synced 2024-11-30 11:09:55 +00:00
Reset anzu status after back to evil normal state.
This commit is contained in:
parent
e3804b60ab
commit
5dfe1deccb
1 changed files with 1 additions and 1 deletions
|
@ -377,8 +377,8 @@ active.")
|
||||||
|
|
||||||
;; Ensure anzu state is cleared when searches & iedit are done
|
;; Ensure anzu state is cleared when searches & iedit are done
|
||||||
(add-hook 'isearch-mode-end-hook #'anzu--reset-status t)
|
(add-hook 'isearch-mode-end-hook #'anzu--reset-status t)
|
||||||
;; (add-hook '+evil-esc-hook #'anzu--reset-status t)
|
|
||||||
(add-hook 'iedit-mode-end-hook #'anzu--reset-status)
|
(add-hook 'iedit-mode-end-hook #'anzu--reset-status)
|
||||||
|
(advice-add #'evil-force-normal-state :after #'anzu--reset-status)
|
||||||
|
|
||||||
;; Keep `doom-modeline-current-window' up-to-date
|
;; Keep `doom-modeline-current-window' up-to-date
|
||||||
(defvar doom-modeline-current-window (frame-selected-window))
|
(defvar doom-modeline-current-window (frame-selected-window))
|
||||||
|
|
Loading…
Reference in a new issue