feat(tui): add Ctrl+R prompt history search#12307
feat(tui): add Ctrl+R prompt history search#12307puranikyashaswin wants to merge 2 commits intoanomalyco:devfrom
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Potential Duplicate PRs Found:
Why they're related: These PRs all implement history search/navigation for the prompt, addressing similar or overlapping functionality. PRs #5775 and #6276 appear to be direct duplicates of the current PR #12307, as they implement the same Ctrl+R history search feature. Check their status (merged/closed/open) to determine if this PR is truly new work or a re-implementation. |
3dc574f to
7a06190
Compare
- Add history_search keybind (ctrl+r) for reverse-i-search - Move session_rename to <leader>R to avoid conflict - Add search() method to history store with fuzzysort - Create DialogHistorySearch component Closes anomalyco#5062
597f61d to
5c9c635
Compare
Issue #5062 requested bash-style reverse-i-search.
What does this PR do?
Adds Ctrl+R history search to the prompt. A dialog opens where you can fuzzy search through prompt history. Ctrl+R cycles matches, Enter selects.
Changes:
How did you verify your code works?
Ran bun dev, submitted prompts, tested Ctrl+R search, fuzzy filtering, and selection.
Closes #5062