Skip to content

Feature request: Highlight all search matches #337

Closed

Description

@Forever-CodingNoob

Hello,

I've been enjoying using leaf so far, but one thing feels off when I want to search for all occurrences of a particular string. It seems that leaf does not currently support highlighting all search matches as the hlsearch option in vim does. Thus I was wondering if that could be supported by leaf, preferably as an option in config.toml.

Best,
forvkusa

Activity

  1. linked a pull request that will close this issuechore: highlight search matches #349on Oct 23, 2026
  2. RivoLink commented on Oct 23, 2026

    @RivoLink
    Owner

    Hi,
    I'm happy to hear you're enjoying leaf!

    Thank you for this suggestion! I've implemented it, and it will be available in the next release.
    No configuration is needed. All search matches will now be highlighted automatically in the search results.

    Thanks again for your feedback!

  3. Forever-CodingNoob commented on Oct 23, 2026

    @Forever-CodingNoob
    Author

    Thanks for your hard work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions