Keyboard Shortcuts
Keyboard Shortcuts
Reference the keyboard shortcuts available in GitComet.
Cmd and Option are macOS modifiers; Ctrl and Alt are used on Windows and Linux. Shortcuts depend on focus: text inputs, the terminal, the file editor, and conflict output keep their own editing keys. Context menus show shortcuts for their available actions.
App
| Action | Mac | Windows/Linux |
|---|---|---|
| New window | Cmd+N, Cmd+Shift+N | Ctrl+N, Ctrl+Shift+N |
| Settings | Cmd+, | Ctrl+, |
| Command palette | Cmd+P | Ctrl+P |
| Open repository | Cmd+O | Ctrl+O |
| Open and recently closed repositories | Cmd+Shift+O, Option+Cmd+O, Ctrl+Shift+A | Ctrl+Shift+O, Ctrl+Shift+A |
| Open active repository in external code editor | Cmd+Shift+E | Ctrl+Shift+E |
| Reveal the open file in GitComet's Files sidebar | Cmd+Shift+L | Ctrl+Shift+L |
| Close active repo tab, or close the window if no repo tab can close | Cmd+W | Ctrl+W |
| Close active window | Cmd+Shift+W | Ctrl+Shift+W |
| Previous repository tab | Cmd+PageUp, Cmd+{, Option+Cmd+Left | Ctrl+PageUp, Ctrl+Shift+Tab |
| Next repository tab | Cmd+PageDown, Cmd+}, Option+Cmd+Right | Ctrl+PageDown, Ctrl+Tab |
| Increase / decrease / reset UI scale | Cmd++, Cmd+-, Cmd+0 | Ctrl++, Ctrl+-, Ctrl+0 |
| Toggle full screen | Ctrl+Cmd+F | F11 |
| Minimize window | Cmd+M | - |
| Hide GitComet | Cmd+H | - |
| Hide other apps | Option+Cmd+H | - |
| Quit | Cmd+Q | Ctrl+Q |
Text Inputs
| Action | Mac | Windows/Linux |
|---|---|---|
| Standard editing shortcuts | Cmd+A, Cmd+C, Cmd+V, Cmd+X, Cmd+Z, Cmd+Shift+Z | Ctrl+A, Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+Z, Ctrl+Shift+Z |
| Character palette | Ctrl+Cmd+Space | - |
| Move or select | Arrows, Shift+Arrows | Arrows, Shift+Arrows |
| Move to line start/end | Cmd+Left, Cmd+Right, Home, End | Home, End |
| Select to line start/end | Cmd+Shift+Left, Cmd+Shift+Right, Shift+Home, Shift+End | Shift+Home, Shift+End |
| Page navigation | PageUp, PageDown, Shift+PageUp, Shift+PageDown | PageUp, PageDown, Shift+PageUp, Shift+PageDown |
| Move by word | Option+Left, Option+Right | Ctrl+Left, Ctrl+Right |
| Select by word | Option+Shift+Left, Option+Shift+Right | Ctrl+Shift+Left, Ctrl+Shift+Right |
| Delete word left/right | Option+Backspace, Option+Delete | Ctrl+Backspace, Ctrl+Delete |
| Compatibility aliases | Ctrl+A, Ctrl+C, Ctrl+V, Ctrl+X also work in text inputs; some opposite-modifier word shortcuts are accepted too | - |
Commit Composer
| Action | Mac | Windows/Linux |
|---|---|---|
| Commit staged changes | Cmd+Enter | Ctrl+Enter |
Only while the commit message input has focus, and only when the Commit action is enabled.
Embedded Terminal
These apply when the embedded terminal has focus. Plain Ctrl+C, Ctrl+V and Ctrl+A are passed through to the shell rather than handled by GitComet.
| Action | Mac | Windows/Linux |
|---|---|---|
| Copy terminal selection | Cmd+C | Ctrl+Shift+C |
| Paste clipboard text | Cmd+V | Ctrl+Shift+V |
| Select all terminal buffer | Cmd+A | Ctrl+Shift+A |
| Scroll terminal history | Shift+PageUp, Shift+PageDown, Shift+Home, Shift+End | Shift+PageUp, Shift+PageDown, Shift+Home, Shift+End |
Diff / Conflict
| Action | Mac | Windows/Linux |
|---|---|---|
| Search diff | Cmd+F | Ctrl+F |
| Insert a newline in diff search | Shift+Enter | Shift+Enter |
| Previous / next search match | F2, F3 | F2, F3 |
| Close search, clear selection, or close current diff | Escape | Escape |
| Previous / next file | F1, F4 | F1, F4 |
| Previous change | F2, Shift+F7, Option+Up | F2, Shift+F7, Alt+Up |
| Next change | F3, F7, Option+Down | F3, F7, Alt+Down |
| Inline diff | Option+I | Alt+I |
| Split diff | Option+S | Alt+S |
| Toggle visible whitespace characters | Option+W | Alt+W |
| Enter or leave the file editor | Option+E | Alt+E |
| Save while the file editor buffer has focus | Cmd+S | Ctrl+S |
| Stage/unstage current worktree file and advance | Space | Space |
| Select all / copy selected diff text | Cmd+A, Cmd+C | Ctrl+A, Ctrl+C |
| Three-way conflict choices | A base, B ours, C theirs, D both | A base, B ours, C theirs, D both |
| Two-way conflict choices | A local, B remote, C both | A local, B remote, C both |
| Make the active conflict unresolved again | U | U |
| Previous / next unresolved conflict | Shift+F2, Shift+F3 | Shift+F2, Shift+F3 |
| First / last delta (conflict resolver) | Cmd+Home, Cmd+End | Ctrl+Home, Ctrl+End |
| Align selected lines manually (conflict resolver) | Cmd+Y | Ctrl+Y |
| Clear all manual alignments | Cmd+Shift+Y | Ctrl+Shift+Y |
Search supports Match Case, Whole Word, and Regex. While search is open, F2 / F3 visit matches instead of changes. Opening search from a rendered Markdown preview returns to source mode.
The file editor owns Cmd+S / Ctrl+S while its buffer has focus; outside it, that shortcut can stage the current file. Plain conflict-choice letters do not select inputs while you are typing in an editor or search field. Shift+F2 / Shift+F3 still navigate unresolved conflicts while the resolved-output editor has focus. First/last delta shortcuts remain cursor-movement keys in that editor.
Inline/split toggles and Space staging apply to raw file diffs. Return from rendered previews to source mode to use raw diff controls.
Context Menus
| Action | All platforms |
|---|---|
| Move selection | Up, Down |
| Activate selection or first enabled item | Enter |
| Close menu | Escape |
| Activate a labeled entry | The single-letter shortcut shown beside it |
Focused Diff Window
| Action | Mac | Windows/Linux |
|---|---|---|
| Close | Cmd+W, Ctrl+W, Escape, Q | Ctrl+W, Escape, Q |