Emacs: show number of search matches in minibuffer or modeline
Alan Pearce alan@alanpearce.eu
Thu, 02 Jan 2020 14:02:39 +0100
2 files changed, 7 insertions(+), 1 deletions(-)
M user/emacs/.emacs.d/init.el → user/emacs/.emacs.d/init.el
@@ -214,7 +214,9 @@ (when smerge-mode (unpackaged/smerge-hydra/body))))) (use-package swiper - :general ([remap isearch-forward] #'swiper-isearch)) + :general ([remap isearch-forward] #'swiper-isearch) + :config (progn + (setq ivy-count-format "%d/%d "))) ;; transition smex history to amx (let ((smex-save-file (concat user-emacs-directory "smex-items"))) @@ -298,6 +300,9 @@ (:states 'normal ";" #'evil-ex) (:states '(normal motion) "g s" #'evil-avy-goto-symbol-1)) + +(use-package evil-anzu + :after evil) (defvar evil-collection-company-use-tng t) (use-package evil-collection
M user/settings/emacs.nix → user/settings/emacs.nix
@@ -97,6 +97,7 @@ eshell-fringe-status eshell-toggle eshell-up evil + evil-anzu evil-collection evil-commentary evil-ledger