micro-editor / micro-editor/micro
Allow find-next without pressing enter
Nobody has claimed this yet.
- Dominant language
- Go
- Stars
- 29.6k
- Forks
- 1.4k
- Avg merge
- 2d 18h
- Merged PRs (30d)
- 10
Description
Currently the find behaviour is:
- Type ctrl-F
- Type your search string
- Press enter to find the first match
- Press Ctrl-N to find the next match.
Modern text editors (VSCode, etc.) use Ctrl-G for find-next so you can just do:
- Type ctrl-F
- Type your search string.
- Press ctrl-G to find the first match, and subsequent matches.
This is quite a bit nicer. It would be good if micro worked the same way.
Edit: Apparently the default bindings are now fixed in stone so as a compromise the plan is to bind ctrl-F to find and find-next, i.e.
- Press ctrl-F
- Type your search string.
- Press ctrl-F to find the first match and subsequent matches.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by tracing the existing Ctrl-F find flow and the default key bindings described in the issue. Confirm how the current first-match and next-match actions are separated, then make Ctrl-F repeat the search as specified and verify that the first and subsequent matches are reached without pressing Enter.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- go
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100