GitHub Copilot Keyboard Shortcuts

Keyboard shortcuts turn Copilot from a helpful tool into a smooth part of your typing rhythm. A mouse click costs a second. A shortcut costs a fraction of that. Across a full workday, the saved seconds add up to real focus. The shortcuts below apply to Visual Studio Code. Other editors use similar keys, and you can find each one in your editor's keybinding settings.

Accept and Dismiss Suggestions

Copilot shows a suggestion as faded gray text. Press Tab to accept the whole suggestion. Press Esc to dismiss it. These two keys handle most daily work.

TYPING FLOW
You type:       function add(a, b) {
Copilot shows:      return a + b;     (gray text)
                }

Tab  → suggestion becomes real code
Esc  → suggestion disappears

Browse Alternative Suggestions

Copilot often has more than one idea. Press Alt + ] to see the next suggestion and Alt + [ to see the previous one. Mac users press Option instead of Alt. Cycle through the options until one matches your intent, then press Tab.

Accept One Word at a Time

A long suggestion may contain one good part and one wrong part. Press Ctrl + Right Arrow to accept a single word. Repeat the press to accept more words. Stop when the suggestion goes off track and type the rest yourself. This habit keeps you in control of every line.

Open the Suggestions Panel

Press Ctrl + Enter to open a side panel that lists many suggestions at once. Compare the options side by side and click Accept Suggestion beside the best one. The panel works well for tricky logic where the first idea may not be the best.

Start Inline Chat

Press Ctrl + I to open a small chat box directly inside your code file. Type a request such as "add input validation" and Copilot edits the selected code in place. You review the change and accept or discard it without leaving the editor window.

Shortcut Reference Table

┌──────────────────────────┬─────────────────┬─────────────────┐
│  ACTION                  │  WINDOWS/LINUX  │  MAC            │
├──────────────────────────┼─────────────────┼─────────────────┤
│  Accept suggestion       │  Tab            │  Tab            │
│  Dismiss suggestion      │  Esc            │  Esc            │
│  Next suggestion         │  Alt + ]        │  Option + ]     │
│  Previous suggestion     │  Alt + [        │  Option + [     │
│  Accept next word        │  Ctrl + Right   │  Cmd + Right    │
│  Open suggestions panel  │  Ctrl + Enter   │  Ctrl + Enter   │
│  Start inline chat       │  Ctrl + I       │  Cmd + I        │
└──────────────────────────┴─────────────────┴─────────────────┘

Customize Your Own Keys

Open the Keyboard Shortcuts editor with Ctrl + K followed by Ctrl + S. Type "Copilot" in the search box to list every Copilot command. Click the pencil icon beside a command and press the keys you prefer. The editor warns you when a new combination clashes with an existing one.

A Five-Day Practice Routine

DAY 1  Use only Tab and Esc
DAY 2  Add Alt + ] and Alt + [
DAY 3  Add Ctrl + Right Arrow for partial accepts
DAY 4  Add Ctrl + Enter for the suggestions panel
DAY 5  Add Ctrl + I for inline edits
→ Five new habits in one working week

Pick one shortcut per day and force yourself to use it every time. Muscle memory forms quickly with steady repetition. Write the table on a sticky note near your monitor until the keys feel natural.

Common Troubles

A Shortcut Does Nothing

Another extension may own that key combination. Open the Keyboard Shortcuts editor and look for a conflict marker.

Suggestions Never Appear

Check the Copilot icon in the status bar. A crossed icon means Copilot is disabled for the current language or file.

Why Shortcuts Improve Focus

Each trip to the mouse breaks your train of thought. Shortcuts keep your hands on the keyboard and your mind on the problem. Developers who master a handful of keys report smoother sessions and fewer interruptions. Start with the two or three shortcuts you will use most and build from there.