Skip to main content

Keyboard shortcuts

All application shortcuts below are configurable under Settings → Shortcuts (and in settings.json under shortcuts.bindings). Empty gesture = unbound.

App shortcuts use Control on both Windows and macOS (not Cmd). Diff copy still uses the platform copy chord (Ctrl/Cmd+C).

Defaults

Diff and layout

ShortcutAction
Ctrl+\Toggle unified / side-by-side diff
Ctrl+Shift+LToggle show full file
Ctrl+Shift+WToggle ignore whitespace
Ctrl+BToggle navigator sidebar
Ctrl+Shift+BToggle File Panel
Ctrl+Alt+FToggle filter / search mode (active file list)
Ctrl+Shift+TToggle flat list / tree view (active file list)

Remote and repository

ShortcutAction
Ctrl+Shift+PPush
Ctrl+Shift+UPull
Ctrl+Shift+FFetch
Ctrl+Shift+GView remote in browser
Ctrl+Shift+RShow repository in Finder / Explorer
Ctrl+TQuick-open a tracked file

Pull request review

Active when you are in a pull request workspace. Unmodified letter keys are ignored while typing in a text field.

ShortcutAction
Ctrl+EnterSubmit pending comment review
Ctrl+F or /Focus the file filter
J or Next file
K or Previous file
VToggle viewed on the selected file
NNext comment thread
PPrevious comment thread
CFocus the comment draft
EscDismiss mention popup / clear draft / close expanded thread

Arrow keys for next/previous file are built-in aliases when the primary binding is still an unmodified key.

Comments and AI chat (fixed)

These editor-local gestures are not configurable:

ShortcutAction
Enter (AI chat)Send message
Shift+Enter (AI chat)New line
↑ / ↓ / Enter / Tab / Esc in mention UINavigate, accept, or dismiss mentions

Diff viewer (fixed)

ShortcutAction
Ctrl+C / Cmd+CCopy selection (Cmd on macOS)
Arrow keys / Page Up / Page Down / Home / EndNavigate and scroll

Multi-select in file lists

ModifierAction
Ctrl (Windows) / Cmd (macOS)Toggle individual items
ShiftRange select

Settings storage

Bindings are stored in the app settings file as a map of shortcut id → gesture string (for example "Push": "Ctrl+Shift+P"). See Settings.