   (setq anzu-cons-mode-line-p nil
         anzu-minimum-input-length 1
         anzu-search-threshold 250)
-  ;; Ensure anzu state is cleared when iedit is exited
-  (after! evil-multiedit
-    (add-hook 'iedit-mode-end-hook 'anzu--reset-mode-line)))
+  ;; Ensure anzu state is cleared when searches & iedit are done
+  (after! evil
+    (advice-add 'evil-force-normal-state :after 'anzu--reset-mode-line)
+    (advice-add 'evil-ex-search-abort :after 'anzu--reset-mode-line)
+    (after! evil-multiedit
+      (add-hook 'iedit-mode-end-hook 'anzu--reset-mode-line))))
 
 
 ;;; Flash the mode-line on error

                                     :v-adjust -0.05)
              sep))))

(defvar iedit-mode nil)
(defvar anzu--state nil)
(defsubst +doom-modeline--anzu ()
  "Show the match index and total number thereof. Requires `anzu', also
`evil-anzu' if using `evil-mode' for compatibility with `evil-search'."


(defvar +doom-modeline-vspc
  (propertize " " 'face 'variable-pitch)
  "TODO")

;; externs
(defvar anzu--state nil)
(defvar evil-mode nil)
(defvar evil-state nil)
(defvar evil-visual-selection nil)
(defvar iedit-mode nil)


;;
