micro-editor / micro-editor/micro

Add search result count display in the infobar

Open
#3,637 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Go
Stars
29.6k
Forks
1.4k
Avg merge
2d 18h
Merged PRs (30d)
10

Description

Hi! I really enjoy using Micro as my terminal text editor, and I have a feature suggestion to improve the search experience. Currently, when searching for text using Ctrl+F, Micro highlights the matches but doesn't show the total number of results found.

It would be very useful if Micro could display the total number of matches in the infobar. For example, something like:
Found 6 results or Match 1 of 6.

This would make it easier to understand how many occurrences of the search term exist in the document and navigate through them.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the Ctrl+F search flow and the infobar display path. Confirm with maintainers whether the infobar should show a total or a current/total count, then verify the agreed display while searching a document with multiple matches.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli, search
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.