Pin selection of models with hotkey to swap between them.

Resolved 💬 2 comments Opened Feb 7, 2026 by ahmedelami Closed Feb 7, 2026
💡 Likely answer: A maintainer (etraut-openai, contributor) responded on this thread — see the highlighted reply below.

What variant of Codex are you using?

cli

What feature would you like to see?

this would be AMAZING, /model then same few set of models i switch between replaced with ability to pin or map a model a "hotkey" to just quickly swap between 2-3 models.

Additional information

_No response_

View original on GitHub ↗

2 Comments

etraut-openai contributor · 6 months ago

I think this is already captured in #9807.

NerdyPunkDad · 3 months ago

If you add the following to ~/.codex/config.toml it will

  • map 'alt-i' to increasing reasoning effort (from "low" to "medium", "high", "x-high")
  • map 'alt-i' to increasing reasoning effort (from "x-high", to "high", "medium", "low")
  • map 'alt-f' to turning fast mode on+off
  • Remove the conflicting keybindings that prevent you from mapping "alt-d" and "alt-f"

[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"]