summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
authorAlan Pearce2020-01-02 14:02:39 +0100
committerAlan Pearce2020-01-02 14:02:39 +0100
commite82ddce054267391a08e2514658961d9b1d56605 (patch)
tree0ee903d5563f2f241aaaf562f891210096275b35 /user/emacs
parent4f5f84cbbfc454c31802040a0e0971554aaa61bf (diff)
downloadnixfiles-e82ddce054267391a08e2514658961d9b1d56605.tar.lz
nixfiles-e82ddce054267391a08e2514658961d9b1d56605.tar.zst
nixfiles-e82ddce054267391a08e2514658961d9b1d56605.zip
Emacs: show number of search matches in minibuffer or modeline
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/.emacs.d/init.el7
1 files changed, 6 insertions, 1 deletions
diff --git a/user/emacs/.emacs.d/init.el b/user/emacs/.emacs.d/init.el
index 811358da..5d1be717 100644
--- a/user/emacs/.emacs.d/init.el
+++ b/user/emacs/.emacs.d/init.el
@@ -214,7 +214,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
                                      (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")))
@@ -299,6 +301,9 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
   (: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
   :after (evil)