Skip to content

feat(web): type > in the file picker to switch to commands - #200

Merged
adampeterhiggins merged 1 commit into
mainfrom
ah/unify-file-command-palette
Oct 6, 2026
Merged

adampeterhiggins merged 1 commit into
mainfrom
ah/unify-file-command-palette

Conversation

@adampeterhiggins

@adampeterhiggins adampeterhiggins commented Oct 6, 2026 •

Copy link
Copy Markdown
Owner

The file picker (mod+p) and the command palette (mod+k) were separate surfaces. In VS Code and Cursor, typing > in go-to-file turns it into the command palette, and that muscle memory didn't work here.

Typing > at the start of the file picker's search now switches the overlay to the command palette's existing actions-only search, keeping the query. If you got there from the file picker, deleting the > takes you back to file search with whatever text is left. If you opened the palette with mod+k, nothing changes: deleting > still returns to the mixed commands/projects/threads search.

  • A new OpenFileSearch reducer action, plus a fromFilePicker flag on OpenSearch, moves the query between the two modes, so they still can't both be open at once.
  • The file picker placeholder now reads "Search files, or type > for commands…".
  • Added a reducer test, a user-guide section in docs/user/keybindings.md, and an entry in docs/fork-differences.md.

Surfaces: web and desktop share this component. Mobile has no file picker, so it doesn't apply there. Nothing changes in providers or contracts.

Screenshots

Before: typing >theme in the file picker fuzzy-matches file names.

Before: >theme searches files

After: the file picker's placeholder mentions >.

After: file picker placeholder

After: typing >theme switches to the command palette's actions-only search.

After: >theme shows theme actions

Checked in the web dev client: typing > then more characters one key at a time keeps focus and the query across the switch, and deleting the > goes back to file search with theme kept.

Model: Claude Opus 5.5 (1M context), harness: Claude Code in T3 Code.

🤖 Generated with Claude Code

Like VS Code's quick open, a leading `>` in the file picker hands the query
to the command palette's actions-only search, and deleting the `>` returns
to file search with the remaining text.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
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.

1 participant