All Shortcuts

GitHub Copilot Keyboard Shortcuts — Complete Cheat Sheet (14 Shortcuts)

Essential GitHub Copilot keyboard shortcuts for VS Code. Learn how to accept, dismiss, and cycle through AI code suggestions, use inline chat, and maximize your coding productivity with Copilot.

About GitHub Copilot

GitHub Copilot is a popular AI tool used by professionals worldwide. Learning keyboard shortcuts can dramatically speed up your workflow — studies show shortcut users save an average of 8 days per year compared to mouse-only users.

This page covers all 19 GitHub Copilot shortcuts across 3 categories: AI Code Completion, Copilot Chat, Copilot Edits. Each shortcut includes a description to help you understand when and how to use it effectively.

💡 Pro Tips for GitHub Copilot Users

Start with the essentials: Learn Tab (Accept Suggestion) and Esc (Dismiss Suggestion) first — these are the most commonly used.

Practice daily: Pick 2–3 new shortcuts each day and consciously use them instead of the mouse. Within a week, they become muscle memory.

Print this cheat sheet: Keep a reference nearby until shortcuts become automatic. Focus on the AI Code Completion category first.

AI workflow tip: Combine keyboard shortcuts with prompt templates to create a fast, repeatable workflow. Save your best prompts and trigger them instantly.

Related Shortcut Pages

ChatGPT OpenAI Codex CLI OpenClaw Claude Code Gemini Midjourney

Search all GitHub Copilot shortcuts interactively

Open Interactive Shortcut Finder

All GitHub Copilot Shortcuts

AI Code Completion

ShortcutActionDescription
TabAccept SuggestionAccept Copilot\
EscDismiss SuggestionDismiss Copilot suggestion.

Copilot Chat

ShortcutActionDescription
Ctrl + Shift + IOpen Copilot ChatOpen the Copilot Chat panel.
Ctrl + IInline ChatOpen inline Copilot Chat in the editor.
/explainExplain CodeRequest explanation of selected code.
/fixFix CodeFix issues in selected code.
/testsGenerate TestsGenerate tests for selected code.
/docGenerate DocsGenerate documentation for selected code.
@workspaceWorkspace ContextAsk questions with entire project as context.
#fileFile ReferenceAdd a specific file as context.
#selectionSelection ReferenceAdd currently selected code as context.

Copilot Edits

ShortcutActionDescription
Ctrl + Shift + EnterAccept EditAccept Copilot\
Ctrl + BackspaceReject EditReject Copilot\
Ctrl + Shift + Alt + EnterAccept All EditsAccept all Copilot edits across all files.

Pro Tips

Frequently Asked Questions

How do I accept a GitHub Copilot suggestion?

Press Tab to accept the full suggestion, or Ctrl+Right Arrow to accept word by word.

How do I open Copilot inline chat?

Press Ctrl+I (Cmd+I on Mac) to open inline chat for contextual code editing.

How do I dismiss a Copilot suggestion?

Press Esc to dismiss the current suggestion.

How do I cycle through Copilot suggestions?

Press Alt+] for the next suggestion and Alt+[ for the previous one.

How do I open the Copilot chat panel in VS Code?

Press Ctrl+Shift+I (Cmd+Shift+I on Mac) to open the Copilot chat panel.

Browse shortcuts for 248 platforms

Explore All Platforms Practice Shortcuts