Skip to content

feat: quick open Markdown files with Ctrl+P - #100

Open
lifez wants to merge 3 commits into
plannotator:mainfrom
lifez:feature/file-search
Open

lifez wants to merge 3 commits into
plannotator:mainfrom
lifez:feature/file-search

Conversation

@lifez

@lifez lifez commented Oct 12, 2026

Copy link
Copy Markdown

Summary

  • Add Ctrl+P filename search in folder mode with case-insensitive fuzzy matching.
  • Scan in the background and reveal the selected file in the tree, preserving annotations.

Testing

cargo test -p plannotator-tui file_search — 8 passed; 1 manual benchmark ignored.

@lifez lifez mentioned this pull request Oct 12, 2026
…eam in

The cursor stuck to whichever file arrived first, so Enter right after
typing could open the wrong file (and made the tests flaky). It now
follows the best match until the user moves it.

Also: click and wheel in the result list, ctrl+c closes like the other
popups, long paths keep their file name, a failed reveal no longer ends
the app, ctrl+p in a reply review still reaches the picker, popup copy
matches the other dialogs, and the manual 10k-file benchmark test is
dropped.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants