Capture new forward-slash searches in vim macros
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 15.2k
- Forks
- 1.5k
- Avg merge
- 3d 18h
- Merged PRs (30d)
- 6
Description
Describe the solution you'd like
I'd like to be able to record macros that search for multiple strings. A vim macro seems currently limited to searching for a single term. i.e. I can type "n" during a macro to go to the next item, but can't create a new search.
Describe alternatives you've considered
I usually work around this by searching for term1|term2, and that is usually sufficient for my use cases.
Thank you!
Contributor guide
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 how Vim macros record keystrokes and how forward-slash searches are handled during playback. Verify the current behavior with a recorded macro that performs multiple searches, then define done as allowing distinct new searches within one macro while preserving existing next-match behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100