GitHub Copilot CLI keyboard shortcuts
GitHub Copilot CLI is the copilot command, GitHub's coding agent for the terminal, and eight of its keys are two-step Ctrl+X chords. This page covers the terminal agent; Copilot inside VS Code has its own page. Esc and Ctrl+C both cancel, but differently: Esc wants a second press while Copilot is working, and Ctrl+C stops it at once.
Checked against GitHub Docs — GitHub Copilot CLI command reference, GitHub Docs — Canceling a GitHub Copilot CLI operation and rolling back changes, GitHub Docs — Working with multiple GitHub Copilot CLI sessions, GitHub Docs — Browsing issues, pull requests, and gists from Copilot CLI, GitHub Docs — Changing settings with the /settings command, GitHub Docs — Steering agents in Copilot CLI, GitHub Docs — Use voice input with Copilot CLI, GitHub Docs — Best practices for GitHub Copilot CLI, GitHub Docs — Using GitHub Copilot CLI, GitHub Docs — Steering a GitHub Copilot CLI session from another device, GitHub Docs — About GitHub Copilot CLI and GitHub — Copilot CLI changelog. Version: GitHub Copilot CLI 1.0.88, default keys.
Showing the Windows keyboard. Showing the Mac keyboard.
The top 18 are the Copilot 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 18 to learn first: the shortcuts the Copilot CLI page marks as the ones to learn first, in the order they appear on it.
Your own sheet: the Copilot CLI shortcuts you ticked.
Running the session
Practise theseWriting the prompt
Practise theseThe Ctrl+X chords
Press Ctrl+X, then the second key.
Tabs, the sidebar and sessions
The sessions sidebar sits beside the conversation. Several of these keys need the prompt to be empty.
Practise theseIssues, pull requests and gists
The Issues and Pull requests tabs appear inside a GitHub repository; the Gists tab appears everywhere.
Practise these/resume, /tasks and /settings
Practise theseReviewing changes in /diff
Practise theseNext
Copilot
This covers GitHub Copilot inside VS Code, where Microsoft's documentation gives each Copilot key for Windows and for Mac.
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.
GitHub Copilot CLI keyboard shortcuts — comboshelf.com. Checked 27 September 2026 against GitHub Docs — GitHub Copilot CLI command reference.