Function: doom-modeline-segment--matches
doom-modeline-segment--matches is a natively compiled function defined
in doom-modeline-segments.el.
Signature
(doom-modeline-segment--matches)
Documentation
Displays matches.
Including:
1. the currently recording macro, 2. A current/total for the
current search term (with anzu), 3. The number of substitutions being
conducted with evil-ex-substitute, and/or 4. The number of active iedit
regions, 5. The current/total for the highlight term (with symbol-overlay),
6. The number of active multiple-cursors.
Source Code
;; Defined in /nix/store/1lcicrdd2r4b8rkc91nnn74ymk1jl6yd-emacs-packages-deps/share/emacs/site-lisp/elpa/doom-modeline-20260928.1632/doom-modeline-segments.el
(doom-modeline-def-segment matches
"Displays matches.
Including:
1. the currently recording macro, 2. A current/total for the
current search term (with `anzu'), 3. The number of substitutions being
conducted with `evil-ex-substitute', and/or 4. The number of active `iedit'
regions, 5. The current/total for the highlight term (with `symbol-overlay'),
6. The number of active `multiple-cursors'."
(let ((meta (concat (doom-modeline--macro-recording)
(doom-modeline--anzu)
(doom-modeline--visual-replace)
(doom-modeline--phi-search)
(doom-modeline--evil-substitute)
(doom-modeline--iedit)
(doom-modeline--symbol-overlay)
(doom-modeline--multiple-cursors))))
(or (and (not (string-empty-p meta)) meta)
(doom-modeline--buffer-size))))