Allow searching nearby history when using Ctrl+R / Reverse Search
Open
Nobody has claimed this yet.
area:search
enhancement
triaged
- Dominant language
- Rust
- Stars
- 65.1k
- Forks
- 5.6k
- PR merge metrics
- PR metrics pending
Description
Discord username (optional)
No response
Describe the solution you'd like?
Basically, I would like to be able to find a command using Ctrl+R, then find nearby commands that were entered before or after it.
Maybe it's already possible, in which case please tell me how - I'm relatively new so I haven't figured out how to translate all my normal workflows yet.
Desired behavior:
- Ctrl+R to trigger reverse search
- Search for a command, navigate with arrow keys, hit Enter to select it
- Press up and down arrow keys to navigate the commands that were entered before and after it
Currently this is possible on a regular terminal by using Ctrl+R, typing in a string, and pressing the arrow keys directly.
Is your feature request related to a problem? Please describe.
I often use Ctrl+R when I want to remember was I was doing a few hours before, or yesterday, and that involves looking at a series of commands entered together. But I'll usually only remember a couple keywords that I use as my "anchor" point to get me to the approximate time period I want, and then I use the arrow keys to scrub through my command history.
Additional context
No response
How important is this feature to you?
4
Warp Internal (ignore) - linear-label:770f6576-d6c0-4e4f-a259-fc64b5156087
None
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
The issue names no files or tests. Start at Warp's Ctrl+R/reverse-search entry point and trace how selecting a history item handles arrow keys. Done means reverse search can select a command and then use the up and down arrows to navigate nearby history entries.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100