Allow configuring the default `@` search mode in config.toml
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 125k
- Forks
- 19.4k
- PR merge metrics
- PR metrics pending
Description
Summary
The @ mention picker always opens in All Results mode, mixing filesystem entries with Plugins and Skills. There is no way to default it to Filesystem Only, so users who mostly use @ for file paths press ← on every invocation. The choice is not remembered across invocations or sessions.
Expected
A config key for the initial mode:
[tui]
mention_search_mode = "filesystem" # "all" (default) | "filesystem" | "plugins"
Persisting the last-used mode would also address the friction.
Workaround considered
Disabling the [skills] / [plugins] sections shrinks the list, but turns the features off rather than scoping the picker.
Environment
codex-cli 0.151.0, standalone build, Linux.
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
Start by reading the config.toml handling and tracing the @ mention picker entry point to see how its initial search mode is selected and validated. Confirm whether the requested work is the configurable initial mode only or also persistence of the last-used mode. Done means the documented key accepts the listed values, defaults to All Results, and changes the picker’s initial mode accordingly.
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
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100