home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 54e2d0cf74cdea702c28375fb53a9f95024f448e
parent 09a7be1c90132d672b0b8e6eeeaa5c048ad0aa29
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 16 Jun 2023 17:49:30 +0200

tools/emacs: enhance isearch with lazy-count

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-search.el | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/tools/emacs/config/config-search.el b/tools/emacs/config/config-search.el @@ -9,7 +9,10 @@ :config (setq-default search-whitespace-regexp ".*?" isearch-lax-whitespace t - isearch-regexp-lax-whitespace nil) + isearch-regexp-lax-whitespace nil + isearch-lazy-count t + lazy-count-prefix-format nil + lazy-count-suffix-format " (%s/%s)") (defun stribb/isearch-region (&optional not-regexp no-recursive-edit) "If a region is active, make this the isearch default search pattern."