When using swiper for search, it only shows the number of matching lines. How can I view the number of matches?
(setq ivy-display-style 'fancy ivy-count-format "(%d/%d) " ; this is what you want ivy-initial-inputs-alist nil ; remove initial ^ input. ivy-extra-directories nil ; remove . and .. directory.)
This is from the
:init of my
(use-package swiper ...) declaration.
"Please test swiper-isearch. It's no longer line-based like swiper, which makes it display the total number of matches. It also fixes the slow startup of swiper"