Keyboard Shortcuts
Keyboard Shortcuts
Reference the keyboard shortcuts available in GitComet.
App
| Action | Mac | Windows/Linux |
|---|
| New window | Cmd+N, Cmd+Shift+N | Ctrl+N, Ctrl+Shift+N |
| Settings | Cmd+, | Ctrl+, |
| Open repository | Cmd+O | Ctrl+O |
| Open recent repositories | Cmd+Shift+O, Option+Cmd+O | Ctrl+Shift+O |
| 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 |
| Next repository tab | Cmd+PageDown, Cmd+}, Option+Cmd+Right | Ctrl+PageDown |
| 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 | - |
Diff / Conflict
| Action | Mac | Windows/Linux |
|---|
| Search diff | Cmd+F | Ctrl+F |
| 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 whitespace | Option+W | Alt+W |
| Hunk picker | Option+H | Alt+H |
| Stage/unstage current worktree file and advance | Space | Space |
| Select all / copy selected diff text | Cmd+A, Cmd+C | Ctrl+A, Ctrl+C |
| Conflict resolver | A base, B ours, C theirs, D both | A base, B ours, C theirs, D both |
Focused Diff Window
| Action | Mac | Windows/Linux |
|---|
| Close | Cmd+W, Ctrl+W, Escape, Q | Ctrl+W, Escape, Q |