Codex CLI keyboard shortcuts
Codex CLI is OpenAI's coding agent for the terminal, and OpenAI documents only a short list of its keys. Every row below is one of them. The two worth learning first are Enter and Tab while Codex is working: Enter adds to the turn already running, and Tab holds your message for the next one.
Checked against OpenAI — Codex CLI commands and interactive shortcuts, OpenAI — Codex CLI customization and OpenAI — Codex best practices. Version: Codex CLI, current release, default keymap.
The same actions in the other AI coding tools, side by side: AI coding tools compared.
Showing the Windows keyboard. Showing the Mac keyboard.
The top 11 are the Codex CLI shortcuts this page marks as the ones to learn first, in the order they appear here. The drill asks the marked ones first too, shuffled. Or tick your own and print those.
The 11 to learn first: the shortcuts the Codex CLI page marks as the ones to learn first, in the order they appear on it.
Your own sheet: the Codex CLI shortcuts you ticked.
While Codex is working
What you type during a turn does not have to wait. These decide whether it joins the turn that is running or the next one.
Practise theseWriting the prompt
Practise theseThe screen and the output
Practise theseChanging the keys
Typed as commands rather than pressed.
Next
Claude Code
This covers Claude Code, the terminal tool, which is where the shortcuts are.
Gemini CLI
Gemini CLI is Google's coding agent for the terminal, and Google publishes a full table of its default keys, many with two or three alternatives.
Terminal
Almost everything here comes from readline, the line editor that bash and zsh both use.
Copilot
This covers GitHub Copilot inside VS Code, where Microsoft's documentation gives each Copilot key for Windows and for Mac.
Codex CLI keyboard shortcuts — comboshelf.com. Checked 25 September 2026 against OpenAI — Codex CLI commands and interactive shortcuts.