You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Tab key was added as a shortcut to queue prompts. But it also autocompletes paths. It can easily trigger an incomplete prompt when you're just trying to autocomplete a file name. Is there a way to change this behavior?
Reacted by Tobias Ploetz, Matt Moran, Jay Oster, Arthur Kim, Edgar Costa, Meptl, Net, Ammar Abou Zor, anon, Serhii Chernenko and 28 more
Linking #14673 because it frames the broader UX that makes this Tab collision matter.
If Codex supports shell-like path completion directly in the composer for inline path-shaped tokens, then Tab / completion behavior needs to be designed as a real first-class interaction instead of colliding with prompt queueing.
That means the feature request and the accidental-send/collision issue are really two sides of the same design seam.
Additionally, on many common keyboard layouts, the tab key sits between the caps-lock key (which I use all the time) and the backtick key (which I also use all the time). It's way too easy to accidentally hit the tab key during normal typing, let alone for completions, for it to be used as as a submit action of any sort.
Same here. I’d strongly prefer Tab to be reserved for completion in the interactive CLI: use Codex-native completion when available, and fall back to shell completion when Codex has no candidate. If Tab-to-queue/submit remains supported, it should at least be configurable or disabled by default.
Reacted by Paul Zinn-Justin, Mateusz Kozak, Yu Cong, Wojciech Wojtyniak and yzhangyext
If you'd prefer not to use tab for queueing, you can use the /keymap editor to replace the keybinding for the "Queue" action with some other key or key combination.
The first time I launched this AI agent, I immediately stumbled upon this problem, which is not even considered a bug.
Mapping TAB in TUI for unexpected functionality was an outstanding move indeed.
Not fixing it in any way feels insane
Reacted by Donghyeon Lee, Abhijeet Bodas and Emmanuel Hugonnet
Activity
github-actions commentedon Feb 26, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Tabfor queue message after a turn is ended does nothing #11212Powered by Codex Action
oxysoft commentedon Mar 14, 2026
Linking #14673 because it frames the broader UX that makes this Tab collision matter.
If Codex supports shell-like path completion directly in the composer for inline path-shaped tokens, then
Tab/ completion behavior needs to be designed as a real first-class interaction instead of colliding with prompt queueing.That means the feature request and the accidental-send/collision issue are really two sides of the same design seam.
tick10 commentedon Mar 20, 2026
I implemented an opt-in version of this on top of current
main.It adds:
Default remains
tab, butenterlets users keep Tab for completion/navigation.Compare view:
https://github.com/openai/codex/compare/main...tick10:fix/configurable-queue-key?expand=1
Commit:
aa04bad3d(feat(tui): add configurable queue key)This preserves current behavior by default and only adds an opt-in config path.
Happy to rework it if there's a preferred contribution path.
czr commentedon Apr 16, 2026
Additionally, on many common keyboard layouts, the tab key sits between the caps-lock key (which I use all the time) and the backtick key (which I also use all the time). It's way too easy to accidentally hit the tab key during normal typing, let alone for completions, for it to be used as as a submit action of any sort.
chamalulu commentedon Apr 22, 2026
Same here. I’d strongly prefer Tab to be reserved for completion in the interactive CLI: use Codex-native completion when available, and fall back to shell completion when Codex has no candidate. If Tab-to-queue/submit remains supported, it should at least be configurable or disabled by default.
kirienko commentedon Jul 1, 2026
This is extremely annoying!
marconett commentedon Jul 21, 2026
this is insane ux. first time using this software, guess i'll instant uninstall
etraut-openai commentedon Jul 22, 2026
If you'd prefer not to use
tabfor queueing, you can use the/keymapeditor to replace the keybinding for the "Queue" action with some other key or key combination.youngjoel commentedon Aug 13, 2026
40 years of muscle memory down the drain. Tab either completes or inserts a tab. Nothing else. So broken.
kamazee commentedon Aug 29, 2026
Remapping works indeed.
Is there any change of reconsidering the default? Tab is barely expected to trigger an action.
memgrafter commentedon Sep 22, 2026
Bad choice, hugely popular issue, waste 15 minutes for 12 million engineers. Love you, fix it.
banderlog commentedon Oct 7, 2026
The first time I launched this AI agent, I immediately stumbled upon this problem, which is not even considered a bug.
Mapping TAB in TUI for unexpected functionality was an outstanding move indeed.
Not fixing it in any way feels insane