Release GitComet Professional launches 17d 14h 41m 00s

Join the waitlist for the early-adopter price Join waitlist

Keyboard Shortcuts

Keyboard Shortcuts

Reference the keyboard shortcuts available in GitComet. Find macOS, Windows, and Linux keys for navigation, staging, commits, diffs, and conflict resolution.

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

ActionMacWindows/Linux
New windowCmd+N, Cmd+Shift+NCtrl+N, Ctrl+Shift+N
SettingsCmd+,Ctrl+,
Command paletteCmd+PCtrl+P
Open repositoryCmd+OCtrl+O
Open workspaceCmd+Shift+RCtrl+Shift+R
Go to commit, branch, tag or revisionCmd+GCtrl+G
Open repository remote in a browserCmd+KCtrl+K
Open and recently closed repositoriesCmd+Shift+O, Option+Cmd+O, Ctrl+Shift+ACtrl+Shift+O, Ctrl+Shift+A
Open active repository in external code editorCmd+Shift+ECtrl+Shift+E
Reveal the open file in GitComet's Files sidebarCmd+Shift+LCtrl+Shift+L
Open the file history tab for the file in the diffCtrl+HCtrl+H
Close active repo tab, or close the window if no repo tab can closeCmd+WCtrl+W
Close active windowCmd+Shift+WCtrl+Shift+W
Previous repository tabCmd+PageUp, Cmd+{, Option+Cmd+LeftCtrl+PageUp, Ctrl+Shift+Tab
Next repository tabCmd+PageDown, Cmd+}, Option+Cmd+RightCtrl+PageDown, Ctrl+Tab
Increase / decrease / reset UI scaleCmd++, Cmd+-, Cmd+0Ctrl++, Ctrl+-, Ctrl+0
Toggle full screenCtrl+Cmd+FF11
Minimize windowCmd+M-
Hide GitCometCmd+H-
Hide other appsOption+Cmd+H-
QuitCmd+QCtrl+Q

Text Inputs

ActionMacWindows/Linux
Standard editing shortcutsCmd+A, Cmd+C, Cmd+V, Cmd+X, Cmd+Z, Cmd+Shift+ZCtrl+A, Ctrl+C, Ctrl+V, Ctrl+X, Ctrl+Z, Ctrl+Shift+Z
Character paletteCtrl+Cmd+Space-
Move or selectArrows, Shift+ArrowsArrows, Shift+Arrows
Move to line start/endCmd+Left, Cmd+Right, Home, EndHome, End
Select to line start/endCmd+Shift+Left, Cmd+Shift+Right, Shift+Home, Shift+EndShift+Home, Shift+End
Move to document start/endCmd+Home, Cmd+EndCtrl+Home, Ctrl+End
Page navigationPageUp, PageDown, Shift+PageUp, Shift+PageDownPageUp, PageDown, Shift+PageUp, Shift+PageDown
Move by wordOption+Left, Option+RightCtrl+Left, Ctrl+Right
Select by wordOption+Shift+Left, Option+Shift+RightCtrl+Shift+Left, Ctrl+Shift+Right
Delete word left/rightOption+Backspace, Option+DeleteCtrl+Backspace, Ctrl+Delete
Delete to line start/endCmd+Backspace, Cmd+DeleteCtrl+Shift+Backspace, Ctrl+Shift+Delete
Compatibility aliasesCtrl+A, Ctrl+C, Ctrl+V, Ctrl+X also work in text inputs; some opposite-modifier word shortcuts are accepted too-

Commit Composer

ActionMacWindows/Linux
Commit staged changesCmd+EnterCtrl+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.

ActionMacWindows/Linux
Copy terminal selectionCmd+CCtrl+Shift+C
Paste clipboard textCmd+VCtrl+Shift+V
Select all terminal bufferCmd+ACtrl+Shift+A
Scroll terminal historyShift+PageUp, Shift+PageDown, Shift+Home, Shift+EndShift+PageUp, Shift+PageDown, Shift+Home, Shift+End

History

ActionMacWindows/Linux
Previous / next commitUp, DownUp, Down
Previous / next pagePageUp, PageDownPageUp, PageDown
First / last commitHome, EndHome, End
Find a commitCmd+FCtrl+F
Next matchEnter, F3Enter, F3
Previous matchShift+Enter, F2Shift+Enter, F2
Close find barEscapeEscape

Row navigation applies while the history list has focus and shows the selected commit's details. With nothing selected, PageUp / PageDown select the first commit.

History search matches summaries, authors and plain-text SHA prefixes of at least four hexadecimal characters across the whole history. It supports Match Case, Whole Word and Regex. Enter and Shift+Enter apply while the find bar has focus. See Find a Commit.

Pickers

These apply while a picker's search input has focus.

ActionMacWindows/Linux
Previous / next resultUp, Down, Shift+Tab, TabUp, Down, Shift+Tab, Tab
First / last resultCmd+Home, Cmd+EndCtrl+Home, Ctrl+End
Previous / next pagePageUp, PageDownPageUp, PageDown
Open selected resultEnterEnter
Close context menu, then pickerEscapeEscape

File History Tab

These apply while the filter input of the sidebar's file history tab has focus. Selecting a commit shows it in the main diff at once.

ActionMacWindows/Linux
Previous / next commitUp, DownUp, Down
Previous / next pagePageUp, PageDownPageUp, PageDown
First / last commitCmd+Home, Cmd+EndCtrl+Home, Ctrl+End
Clear the filterEscapeEscape

Open the tab with Ctrl+H in the diff, on macOS too; Cmd+H hides the application. The shortcut does not take over text-input editing keys. See File History.

Files Explorer

These shortcuts apply while the Files sidebar has focus. Text editors and the terminal keep their own editing keys.

ActionMacWindows/Linux
Copy / Cut / PasteCmd+C, Cmd+X, Cmd+VCtrl+C, Ctrl+X, Ctrl+V
Move previously copied files hereOption+Cmd+VCut, then Paste
DuplicateCmd+DCtrl+D
Select all visible itemsCmd+ACtrl+A
Move selectionUp, Down, Home, EndUp, Down, Home, End
Extend selectionShift + navigation keyShift + navigation key
Move focus without changing selectionCmd + navigation keyCtrl + navigation key
Expand folder / collapse or go to parentRight, LeftRight, Left
RenameF2F2
Open focused itemEnterEnter
Undo / Redo file operationCmd+Z, Cmd+Shift+ZCtrl+Z, Ctrl+Shift+Z or Ctrl+Y
Trash / Delete permanentlyDelete, Shift+DeleteDelete, Shift+Delete
Cancel inline entry, pending cut or transferEscapeEscape

Permanent deletion cannot be undone. See Manage Files and Documents.

Diff / Conflict

ActionMacWindows/Linux
Search diffCmd+FCtrl+F
Insert a newline in diff searchShift+EnterShift+Enter
Previous / next search matchF2, F3F2, F3
Close search, clear selection, or close current diffEscapeEscape
Previous / next fileF1, F4F1, F4
Previous / next file in the list the diff came fromUp, DownUp, Down
Previous / next page of filesPageUp, PageDownPageUp, PageDown
First / last fileHome, EndHome, End
Previous changeF2, Shift+F7, Option+UpF2, Shift+F7, Alt+Up
Next changeF3, F7, Option+DownF3, F7, Alt+Down
Inline diffOption+IAlt+I
Split diffOption+SAlt+S
Toggle visible whitespace charactersOption+WAlt+W
Enter or leave the file editorOption+EAlt+E
Save while the file editor is openCmd+SCtrl+S
Stage/unstage current worktree file and advanceSpaceSpace
Select all / copy selected diff textCmd+A, Cmd+CCtrl+A, Ctrl+C
Three-way conflict choicesA base, B ours, C theirs, D bothA base, B ours, C theirs, D both
Two-way conflict choicesA local, B remote, C bothA local, B remote, C both
Make the active conflict unresolved againUU
Previous / next unresolved conflictShift+F2, Shift+F3Shift+F2, Shift+F3
First / last delta (conflict resolver)Cmd+Home, Cmd+EndCtrl+Home, Ctrl+End
Align selected lines manually (conflict resolver)Cmd+YCtrl+Y
Clear all manual alignmentsCmd+Shift+YCtrl+Shift+Y

Search supports Match Case, Whole Word, and Regex. While search is open, F2 / F3 visit matches instead of changes. In a rendered Markdown preview, search covers the rendered text and opens collapsed sections that contain the current match.

Up / Down, PageUp / PageDown and Home / End work without modifiers in commit, comparison, worktree and status lists, and stop at the first or last file. The conflict resolver uses F1 / F4 instead.

While the file editor is open, Cmd+S / Ctrl+S saves wherever focus is; outside the editor, that shortcut stages 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.

In a focused staged or unstaged file list, Space also acts on its single selected file and advances to the next one. Focus stays in the list, so another Space acts on the next file. Up / Down, PageUp / PageDown and Home / End step through the list's files and open each one in the diff.

Image And Diagram Previews

These apply when an image has focus, including image diffs and image conflict previews.

ActionMacWindows/Linux
Zoom in / out+, -+, -
Fit0 or double-click0 or double-click
Actual size (100%)11
Zoom around the pointerCmd + scrollCtrl + scroll
PanDrag or scrollDrag or scroll

Over a Mermaid diagram, Cmd + scroll / Ctrl + scroll zooms the diagram and double-click returns it to 100%. Elsewhere, the same gesture changes the UI scale. See Preview images and Markdown.

Context Menus

ActionAll platforms
Move selectionUp, Down
Activate selection or first enabled itemEnter
Close menuEscape
Activate a labeled entryThe single-letter shortcut shown beside it

In history menus, Right, Enter or Space opens a branch/tag group; Left returns to the parent menu.

Focused Diff Window

ActionMacWindows/Linux
CloseCmd+W, Ctrl+W, Escape, QCtrl+W, Escape, Q
Previous changeF2, Shift+F7, Option+UpF2, Shift+F7, Alt+Up
Next changeF3, F7, Option+DownF3, F7, Alt+Down

Documentation

Search

↑↓ move ⏎ open Esc close

Browse the docs or start typing to filter results.