Feature request: '/' to open a search/filter bar in /diff file picker (consistent with /plugin, /config)
Feature request
Add a / hotkey to the /diff command's file picker that opens a search/filter input — same affordance as /plugin and /config, where pressing / jumps focus to a search bar that incrementally filters the list.
Why
/plugin and /config both expose this pattern: / opens a search bar, typing filters the list in place, Esc returns to navigation. It's already the muscle memory for navigating long lists in the CLI.
/diff is the spot where it's most needed in practice — a 23-file diff (or any non-trivial change set) is hard to navigate with arrow keys alone. With filter, the file you want is one substring away.
Repro
- In a repo with many changed files, run
/diff. - Press
/— nothing happens; there's no way to filter the list. - Compare against
/pluginand/config, where/opens a search bar.
Screenshot
!/diff file picker — note the footer offers only ↑/↓ navigation, no / to search
Ask
Wire / to open a filter input in the /diff picker, matching the behavior in /plugin and /config:
/opens the search bar with focus- Typing filters the file list (substring or fuzzy — whichever matches the existing
/pluginconvention) Escclears the filter and returns focus to the listEnterconfirms the highlighted file
Ideally apply the same treatment to any other list screen that lacks it, so the /-to-filter contract is universal across navigable lists in the CLI.
Thanks!
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗