In-buffer overlay for Isearch's lazy count
Go to file
Jai Flack df3c8e0704
Depend on (emacs "29") for recent master
2022-05-05 20:47:46 +10:00
.gitignore Initial commit 2022-03-24 19:51:23 +10:00
LICENSE Initial commit 2022-03-24 19:51:23 +10:00
README.org Add README.org 2022-03-24 20:10:27 +10:00
isearch-olc.el Depend on (emacs "29") for recent master 2022-05-05 20:47:46 +10:00

README.org

isearch-olc

An in-buffer overlay for the current isearch match counts, isearch-lazy-count but just after the current matches line.

Enable

This requires both isearch-lazy-highlight and isearch-lazy-count to be non-nil. Then simply enable isearch-olc-mode.

For example:

  (add-to-list 'load-path "/path/to/isearch-olc")
  (require 'isearch-olc)

  (custom-set-variables
   '(isearch-olc-format " [%s/%s]"))

  (isearch-olc-mode)

Configuration

The package currently only exposes one option: isearch-olc-format which is used to format the result. It is expected to contain two %s sequences, the first is replaced with the match number and second the total number of matches.