Gemini CLI keyboard shortcuts
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. Its line editing follows the readline keys a shell uses, and a handful of keys depend on the terminal, which Google names in its limitations. Since 18 June 2026 Google serves it only to Gemini Code Assist Standard and Enterprise customers; individual and free users were moved to Antigravity CLI.
Checked against Gemini CLI documentation — Keyboard shortcuts, Gemini CLI documentation — Commands and Google Developers Blog — Transitioning Gemini CLI to Antigravity CLI. Version: Gemini CLI, current release, default keybindings.
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 16 are the Gemini 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 16 to learn first: the shortcuts the Gemini CLI page marks as the ones to learn first, in the order they appear on it.
Your own sheet: the Gemini CLI shortcuts you ticked.
Running the session
Practise theseWriting and sending the prompt
Practise theseMoving and deleting in the input
Mostly the readline keys a shell uses, with the arrow-key versions Google lists beside them.
History and suggestions
Scrolling and the screen
Practise theseBackground shells
Practise theseVi mode
Once vim mode is on, with /vim or the general.vimMode setting. Counts work as in Vim: 5j, 3dd.
i or aI or Ao or Ow b egg Gdd Dcw ccyy p Pu .Next
Antigravity
Google Antigravity is three products, and this page keeps them apart: the Antigravity 2.0 desktop app, the Antigravity IDE, and the agy terminal CLI.
Claude Code
This covers Claude Code, the terminal tool, which is where the shortcuts are.
Codex CLI
Codex CLI is OpenAI's coding agent for the terminal, and OpenAI documents only a short list of its keys.
Terminal
Almost everything here comes from readline, the line editor that bash and zsh both use.
Gemini CLI keyboard shortcuts — comboshelf.com. Checked 25 September 2026 against Gemini CLI documentation — Keyboard shortcuts.