NEW: Claude Code Security — research preview

Keyboard Shortcuts Master List

All keyboard shortcuts for GitHub Copilot, Cursor, and Claude Code side-by-side

ReferenceRead time: 6 min

title: "Keyboard Shortcuts Master List" description: "All keyboard shortcuts for GitHub Copilot, Cursor, and Claude Code side-by-side" section: "Reference" readTime: "6 min" badge: "Reference"

Keyboard Shortcuts Master List

Side-by-side reference for all AI coding tool shortcuts.

GitHub Copilot (VS Code)

Inline Suggestions

ActionWindows / LinuxmacOS
Accept full suggestionTabTab
Dismiss suggestionEscEsc
Accept next wordCtrl+RightCmd+Right
Next suggestionAlt+]Option+]
Previous suggestionAlt+[Option+[
Open suggestion panelCtrl+EnterCtrl+Enter
Trigger suggestion manuallyAlt+\Option+\

Chat

ActionWindows / LinuxmacOS
Open Chat panelCtrl+Shift+ICmd+Shift+I
Open Inline ChatCtrl+ICmd+I
Submit messageEnterEnter
New line in messageShift+EnterShift+Enter
Attach file (#file)Type #Type #
New conversationCtrl+L (in chat)Cmd+L (in chat)

Agent / Smart Actions

ActionWindows / LinuxmacOS
Generate commit messageCtrl+Shift+G → ✨Cmd+Shift+G → ✨
Fix error (when error shown)Click 💡 → Copilot FixClick 💡 → Copilot Fix
Explain selectionSelect + Ctrl+I → "Explain"Select + Cmd+I → "Explain"
Generate docs for functionPlace cursor → Ctrl+I → "Document"Cmd+I → "Document"
Review selected codeSelect → right-click → Copilot → ReviewSame

Cursor

Chat & Composer

ActionWindows / LinuxmacOS
Open ChatCtrl+LCmd+L
Open Composer (multi-file agent)Ctrl+ICmd+I
Open new Composer windowCtrl+Shift+ICmd+Shift+I
Submit messageEnterEnter
New line in ComposerShift+EnterShift+Enter
Reference a file (@file)Type @Type @
Reference codebase@Codebase@Codebase
Reference terminal output@terminal@terminal
Reference docs URL@ + URL@ + URL

Tab (Inline Completion)

ActionWindows / LinuxmacOS
Accept full suggestionTabTab
Dismiss suggestionEscEsc
Accept next wordCtrl+RightCmd+Right
Trigger suggestionAlt+\Option+\

Editor

ActionWindows / LinuxmacOS
Toggle AI paneCtrl+Shift+JCmd+Shift+J
Open command paletteCtrl+Shift+PCmd+Shift+P
Open Cursor settingsCtrl+Shift+J → SettingsSame

Claude Code (Terminal)

Claude Code is terminal-first — these are keyboard shortcuts within the interactive session.

ActionShortcut
Send messageEnter
New line in messageShift+Enter
Approve current actiony + Enter
Deny current actionn + Enter
Always allow this toola + Enter
Cancel current operationCtrl+C
Quit sessionCtrl+D or /quit
Show help/help
Clear conversation/clear
Show session info/status

Useful CLI Shortcuts (Shell)

# Alias for quick access
alias cc="claude"
alias ccp="claude -p"  # non-interactive
 
# Pipe code from clipboard (macOS)
pbpaste | claude -p "Review this code"
 
# Pipe code from clipboard (Linux)
xclip -sel clip -o | claude -p "Review this code"

VS Code Universal Shortcuts (Relevant to AI)

These VS Code shortcuts improve AI workflow regardless of which AI tool you use:

ActionWindows / LinuxmacOS
Select current wordCtrl+DCmd+D
Select to end of lineShift+EndShift+Cmd+Right
Select all occurrencesCtrl+Shift+LCmd+Shift+L
Multi-cursor at line endsSelect lines → Shift+Alt+IShift+Option+I
Move line up/downAlt+Up/DownOption+Up/Down
Duplicate lineShift+Alt+DownShift+Option+Down
Fold allCtrl+K, Ctrl+0Cmd+K, Cmd+0
Go to definitionF12F12
Peek definitionAlt+F12Option+F12
Toggle terminalCtrl+`Ctrl+`
Command paletteCtrl+Shift+PCmd+Shift+P

Customizing Shortcuts

Copilot (VS Code)

Ctrl+Shift+P → "Open Keyboard Shortcuts" → search "copilot" → click pencil icon to rebind.

Cursor

Cmd/Ctrl+Shift+P → "Preferences: Open Keyboard Shortcuts" → search "cursor" or "composer".

Cursor uses VS Code's keybinding format in keybindings.json:

{
  "key": "ctrl+shift+a",
  "command": "aichat.newchataction"
}