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
{{ message }}
Repository navigation
[FEATURE] Keyboard shortcut to switch thinking effort level while composing prompt #9807
A keyboard shortcut to switch between Codex 5.2 models (Low, Medium, High, Xhigh) while composing a prompt in the input area.
Use case: I often start writing a prompt and then realize mid-composition that I want to use a smarter model for a complex task, or a faster/cheaper model for a simple one. Currently, there's no way to switch models without abandoning the prompt or using the menu.
Suggested implementation:
A keybinding like Ctrl+M to cycle through available models
This would improve the workflow for users who frequently switch between models based on task complexity.
This would be great because sometimes I will want to swap between multiple models within a session.
Or smarter model to plan, medium model to execute, faster model to QA.
Even better would be setting up rules on which model to use and when so I don't have to swap by hand
This feels like the narrower keyboard-control seam under #14356.
That issue broadens the ask in three ways that seem worth keeping tied together:
dedicated reasoning-depth controls, not just model switching
a non-semantic depth meter with shapes like [◉···] [◉◉··] [◉◉◉·] [◉◉◉◉]
next-turn-safe switching semantics, so changing model/depth during an in-flight turn stages the new setting for the next prompt instead of mutating the running one
In practice I think the control surface wants to feel like a fast cockpit lever, not something that requires walking back through /models constantly.
I'm not sure I understand why we need this. Can you explain? Why do they conflict with alt-i and alt-d and alt-f?
edit: I figured it out:
[tui.keymap]
chat.decrease_reasoning_effort = "alt-d"chat.increase_reasoning_effort = "alt-i"global.toggle_fast_mode = "alt-f"# need to set this because `alt-d` is by default set to `delete_forward_word`editor.delete_forward_word = ["alt-delete", "ctrl-delete", "ctrl-shift-delete"]
# need to set because `alt-f` is by default set to `move_word_right`editor.move_word_right = [
"alt-right",
"ctrl-right",
]
I've modified @NerdyPunkDad's keymaps to use alt-minus and alt-= (note: on Macs at least, = is on the same key as +, but + requires a shift; I decided to stick with = for simplicity), which I find a little more intuitive and easier to remember. And they also solve the issue of having to override editor.delete_forward_word because alt-minus and alt-= do not bind to anything by default.
[tui.keymap]
chat.decrease_reasoning_effort = "alt-minus"chat.increase_reasoning_effort = ["alt-="]
global.toggle_fast_mode = "alt-f"# need to set because `alt-f` is by default set to `move_word_right`editor.move_word_right = [
"alt-right",
"ctrl-right",
]
shift + up and shift + down are the default keymaps to increase and decrease reasoning effort respectively. also you can do /keymap to check the existing keymaps. #9807 and #10155 these issues can be closed now.
changed the title [-][FEATURE] Keyboard shortcut to switch models while composing prompt[/-][+][FEATURE] Keyboard shortcut to switch thinking effort level while composing prompt[/+]on Aug 12, 2026
Activity
vadimcomanescu commentedon Jan 28, 2026
Couldn't agree more. Claude code, Opencode pretty much all of them have this.
venkatd commentedon Feb 15, 2026
This would be great because sometimes I will want to swap between multiple models within a session.
Or smarter model to plan, medium model to execute, faster model to QA.
Even better would be setting up rules on which model to use and when so I don't have to swap by hand
PaulRBerg commentedon Feb 18, 2026
This would also be helpful in the macOS app
jorgejhms commentedon Feb 26, 2026
I would like a separate keymap for changing thinking levels. On open code this is ctrl+t. they also have ctrl+x m for opening the model selection
oxysoft commentedon Mar 11, 2026
This feels like the narrower keyboard-control seam under #14356.
That issue broadens the ask in three ways that seem worth keeping tied together:
[◉···] [◉◉··] [◉◉◉·] [◉◉◉◉]In practice I think the control surface wants to feel like a fast cockpit lever, not something that requires walking back through
/modelsconstantly.RickVM commentedon Mar 19, 2026
I would like to toggle between spark and whichever model I was already running
jkryanchou commentedon May 16, 2026
alt + p -> Claude Code could switch.
NerdyPunkDad commentedon May 22, 2026
If you add the following to
~/.codex/config.tomlit will[tui.keymap]
chat.decrease_reasoning_effort = "alt-d"
chat.increase_reasoning_effort = "alt-i"
global.toggle_fast_mode = "alt-f"
editor.delete_forward_word = ["alt-delete", "ctrl-delete", "ctrl-shift-delete"]
editor.move_word_right = ["alt-right", "ctrl-right"]
PaulRBerg commentedon May 22, 2026
Thanks for the idea @NerdyPunkDad - custom keybindings are a great workaround in the interim.
There's a typo in your comment in the 2nd bullet point - I think you meant to write
alt-d.I'm not sure I understand why we need this. Can you explain? Why do they conflict with
alt-iandalt-dandalt-f?edit: I figured it out:
PaulRBerg commentedon May 23, 2026
I've modified @NerdyPunkDad's keymaps to use
alt-minusandalt-=(note: on Macs at least,=is on the same key as+, but+requires a shift; I decided to stick with=for simplicity), which I find a little more intuitive and easier to remember. And they also solve the issue of having to overrideeditor.delete_forward_wordbecausealt-minusandalt-=do not bind to anything by default.frhanjav commentedon Jun 14, 2026
shift + upandshift + downare the default keymaps to increase and decrease reasoning effort respectively. also you can do /keymap to check the existing keymaps. #9807 and #10155 these issues can be closed now.PaulRBerg commentedon Jun 14, 2026
@frhanjav that's great news. In which Codex CLI version did they add keybindings for increasing/decreasing effort level?
jkryanchou commentedon Jun 14, 2026
PaulRBerg commentedon Jun 18, 2026
Yeah, I can confirm that SHIFT+↑ and SHIFT+↓ work now.
Closing this issue.
[-][FEATURE] Keyboard shortcut to switch models while composing prompt[/-][+][FEATURE] Keyboard shortcut to switch thinking effort level while composing prompt[/+]