Skip to Content
Keybindings

⌨️ Keybindings

KeyModeAction
↑ / kNormalMove selection up
↓ / jNormalMove selection down
aNormalAdd a new repository (via directory scanner)
ANormalBulk add folders in a directory
iNormalImport remote repository
eNormalEdit the selected repository’s path. Its labels, star, pin, archive status, per-repository settings, last visit and commit-message history move to the new path; a path another entry already tracks (as written, via ~, or through a symlink) is refused with “Repository already added”
DNormalDelete the selected item (asks)
lNormalEdit labels of the selected item
RNormalRefresh status of selected item
FNormalBulk fetch all tracked repositories concurrently
ENormalShow why the selected repository’s last fetch failed
fNormalEnter repository search mode
Tab / Shift+TabNormalCycle summary-bar filter (repos → dirty → ahead → stale → archived) forward / backward
LNormalOpen label picker: filter the list to one label (sticky until deselected; persists across restarts)
1 … 9NormalQuick label: apply the label in slot N as the sticky filter, matching the numbered chips under the summary bar. Slots are assigned in the order labels are first viewed (FIFO) and never reorder; press the active slot again to clear it
x / XNormalForget the active label filter from quick-label slots (x), or clear all quick-label slots (X); right-click or middle-click a chip on the header to forget just that chip
EscLabelPickerClose label picker without changing the filter
↑ / ↓LabelPickerNavigate label list
EnterLabelPickerApply selected label (re-selecting the active label, or “All repositories”, clears it)
Del / ctrl+dLabelPickerRemove highlighted label from quick-label slots (or clear all slots when on “All repositories”)
→LabelPickerOpen Label Settings for the highlighted label (on the “All repositories” row it only shows a “Select a label to edit its settings” status hint)
Home / End / PgUp / PgDnFuzzy pickersJump to top / bottom or page through the match list. Works in all fuzzy picker overlays: label picker, Jump-to-Repo, add/bulk-add repo scanners, and branch/file/commit/tag searches
ctrl+fNormalOpen global code search popup overlay
pNormalToggle pin status of selected item (pinned repositories stay at the top of the list in every sort order, above a thin rule)
*NormalToggle Favorite / Star status of selected item
zNormalToggle archive status of selected repository (archived repositories move to the Archived summary tab and are skipped during bulk fetch)
ZNormalArchive (or unarchive in the Archived tab) all currently shown repositories for the active label filter or highlighted label group (asks)
SpaceNormalToggle selection of item for batch operations (fetch, delete, external shell)
yNormalYank absolute path of selected item to clipboard
/NormalOpen fuzzy Jump-to-Repo picker overlay
oNormalCycle list sorting mode (Custom → Alphabetical → Recent → Changes). While a label filter whose Label Settings set Sort By is active, cycles that label’s sort instead of the global
ONormalToggle list sorting direction (ascending vs. reversed). While a label filter whose Label Settings set Sort Reverse is active, flips that label’s direction instead of the global
gNormalLaunch the preferred Git client in the highlighted repository (configurable in settings, default is gitui); does nothing on a group header
tNormalOpen the embedded terminal panel in the selected repository’s directory
TNormalSuspend the TUI and spawn a full-screen shell in each multi-selected repository’s directory (clearing the selection), else in the highlighted repository’s; does nothing on a group header
ctrl+tGlobal / AnywhereToggle the embedded terminal panel (show + focus / hide; also unfocuses it)
ctrl+pNormal / DetailOpen the command palette: fuzzy-find every action available in the current view (with its current key) and run it by name
↑ / ↓ / PgUp / PgDn / Home / EndCommand PaletteMove through the matching actions
EnterCommand PaletteRun the highlighted action (exactly as its key would, including custom bindings)
Esc / ctrl+pCommand PaletteClose the palette without running anything
Shift+PgUp / Shift+PgDnTerminal panel (focused)Scroll the terminal’s output history; any keystroke snaps back to live view
sNormalOpen options/settings page
dNormalOpen debug logs panel
VNormalShow about popup / creator profile
vNormalCycle between standard cards, compact 1-row view, and tile grid view. While a label filter whose Label Settings set View Mode is active, cycles that label’s layout instead of the global
hNormalShow signs & symbols legend popup
UNormalOpen App Usage Stats Dashboard
uNormalCheck for application updates manually
.Normal / DetailToggle status bar between collapsed and expanded view
Enter / →Normal / Commits listOpen Detail view for selected item (in Tile view → moves the selection right instead) / Inspect selected commit
?Normal / HelpToggle the shortcut overlay
ctrl+qGlobal / AnywhereQuit application from anywhere
EscNormalClear active search filter or cancel all repository selections
EnterEditing / Input ModalsSave / submit typed text and persist
EscEditing / Input ModalsCancel modal input without saving (letters like q/Q are typed as regular input)
ctrl+v / Terminal PasteEditing / Input ModalsPaste text from system clipboard (strips newlines for single-line inputs)
EscRepoSearchInputClear repository search and return to Normal mode
EscGlobalSearchReturn to Normal mode
TabGlobalSearchToggle focus between search query input and results
↑ / ↓GlobalSearchNavigate search results
Enter (Query focus)GlobalSearchTrigger/execute search scan
Enter (Results focus)GlobalSearchSelect matched result, jump to repository, and open Detail view
CharGlobalSearchType query (when input is focused)
BackspaceGlobalSearchErase query character (when input is focused)
EnterSettings (Edit)Save settings edit
EscSettings (Edit)Cancel settings edit
Esc / qSettingsReturn to the category sidebar (from the fields panel), or to Home if the sidebar is already focused
QSettingsExit Settings and return to Home
↑ / ↓ / k / jSettingsNavigate setting fields / categories
Enter / SpaceSettingsToggle / Edit selected setting
Tab / Shift+TabSettingsSwitch focus between category list (sidebar) and settings list
← / hSettingsFocus category list (sidebar)
→ / l / w / WSettingsFocus settings list
1 - 5SettingsJump directly to category: General (1), Sorting (2), Scan (3), Theme (4), Keybindings (5)
Esc / qDebugLogsExit Debug Logs (or clear filter if active) and return to Home
c / C / xDebugLogsClear all debug logs and reset scroll
/DebugLogsEnter fuzzy search query mode
EnterDebugLogs (Search)Finish typing query and lock focus to log list scrolling
EscDebugLogs (Search)Clear query character/text or exit search mode
BackspaceDebugLogs (Search)Erase query character
CharDebugLogs (Search)Type query character
↑ / ↓ / k / jDebugLogsScroll debug logs list
PgUp / PgDnDebugLogsScroll debug logs list by page size
Home / EndDebugLogsJump to top / bottom of debug logs
BackspaceEditingErase the character before the caret
← / →Editing / Input ModalsMove the caret within the field. Fuzzy pickers keep the arrows for moving their selection.
Home / EndEditing / Input ModalsMove the caret to the start / end of the field
DeleteEditing / Input ModalsErase the character under the caret
Tab / ↑ / ↓Tag CreationSwitch focus between Tag Name and Tag Message input fields
y / YConfirm DialogConfirm action (delete item/branch/tag/stash/remote/submodule, archive/unarchive shown repositories for a label, update a Modified submodule, push branch/tag/all tags, tag overwrite, abort/continue merge, checkout of a branch, tag, commit or issue/PR branch, track launch directory). Enter also confirms non-destructive dialogs (checkouts, pushes, merges); on destructive ones it cancels
f / FConfirm DialogForce push tag (--force) in Tag Push confirmation dialog
t / TConfirm DialogPush branch with tags (--tags) in Branch Push confirmation dialog
n / N / EscConfirm DialogCancel action
? / Esc / q / QHelpClose the help overlay
Esc / q / QDetailReturn to the list (from the Advanced tab group, the first press steps back to the Primary tabs; an open full diff or commit search is closed first)
Tab / Shift+TabDetailCycle active detail view tabs within the active group (Primary vs. Advanced)
w / WDetailCycle panel focus forward (w) / backward (W)
+ / -DetailGrow (+) or shrink (-) the focused panel by moving its layout split (same splits the mouse can drag)
1 - 7DetailJump directly to Primary tab: Workspace (1), Files (2), Graph (3), Branches (4), Tags (5), Remotes (6), Stashes (7)
1 - 5DetailJump directly to Advanced tab: Worktrees (1), Submodules (2), Reflog (3), Issues (4), PRs (5) (when Advanced group is active)
ZDetailToggle between Primary and Advanced tab groups
ODetailToggle full-screen repository Overview overlay
ctrl+gDetailOpen Interactive Git Bisect panel
s / b / gBisect (inactive)Start bisect (s), start with HEAD bad (b), or start with HEAD bad & selected commit good (g)
g / b / k / G / B / r / ↑ / ↓ / EscBisect (active)Mark HEAD good (g), bad (b), skip (k), mark selected commit G/B, reset (r), scroll log (↑↓), or close panel (Esc/q)
↑ / k / KDetailMove selection or scroll list/diff/tree up
↓ / j / JDetailMove selection or scroll list/diff/tree down
PgUp / PgDnDetail / Normal / SettingsScroll list/diff/tree/settings by configured page_size
Home / EndDetail / Normal / SettingsJump to top / bottom of list/diff/tree/settings
EnterDetailStage/Unstage file (Workspace tab), checkout branch (Branches tab), checkout tag (Tags tab), open worktree in new context (Worktrees tab), checkout commit (Reflog tab; also Space; asks confirmation), checkout the issue’s or PR’s branch (Issues / PRs tabs; asks confirmation), or Inspect commit
f / FDetailFetch remote repository (Branches / Tags / Remotes tabs)
pDetailPull selected local branch from remote (Branches tab), Push selected tag (Tags tab; asks confirmation), or Prune stale worktree metadata (Worktrees tab)
Shift+PDetailPush selected local branch to remote (Branches tab) or Push all tags (Tags tab; asks confirmation)
← / →DetailFocus Local/Remote branch list (Branches tab only; on the Tags tab switch local/remote focus with w / W or the mouse)
> / → / EnterDetailExpand / toggle selected folder (Files tab)
< / ,DetailCollapse selected folder (Files tab)
←DetailCollapse all folders (Files tab)
/DetailFuzzy find files (Files tab) / commits (Workspace commits list / Logs view) / branches (Branches tab) / tags (Tags tab)
e / oDetailOpen selected file in configured terminal editor (Files tab)
Shift+HDetailView selected file’s commit/revision history (Files tab)
cDetailOpen commit prompt (Workspace tab or Inspect view), or Create branch from HEAD (Branches tab)
CDetailOpen commit prompt with Amend (Workspace tab or Inspect view)
aDetailToggle “Assigned to me” / “All Open” issues (Issues tab), Stage All (a/A, Workspace tab Unstaged focus) / Unstage All (a/A, Workspace tab Staged focus), Apply stash (Stashes tab), Add worktree (Worktrees tab; an existing branch, tag or commit, or a new branch name to create), Add remote (a/A, Remotes tab), or Add submodule (Submodules tab)
nDetailAdd line comment to selected PR (PRs tab; asks for file path, line and comment in turn), or Toggle line numbers in content viewer (n/N, Files tab)
b / BDetailToggle git blame panel (Files tab), or Create branch at selected commit (Workspace commits list)
t / TDetailCreate tag at selected commit (Workspace commits list)
y / YDetailYank selected commit hash (Workspace commits list)
v / VDetailRevert selected commit (Workspace commits list; asks confirmation)
p / PDetailCherry-pick selected commit (Workspace commits list; asks confirmation)
xDetailDiscard selected file changes (Workspace tab, Inspect view, or Files tab via x/X; asks confirmation), or discard the selected hunk/line (x / Delete, Workspace diff / Inspect StagingDetails focus; applies immediately)
XDetailDiscard all changes in repository (Workspace tab or Inspect view; asks confirmation)
i / IDetailInteractive rebase from selected commit (Workspace tab commits list), or interactive rebase of the current branch onto the selected branch (Branches tab; asks confirmation)
GDetailLoad more commits (Workspace commits list / Logs view)
lDetailOpen Logs view (Workspace tab commits list focus), Toggle line-by-line staging mode (l/L, Workspace diff / Inspect StagingDetails focus), or Toggle lock status (Worktrees tab; asks reason/unlocks)
DDetailDelete selected branch (Branches tab; asks confirmation), tag (Tags tab; asks confirmation), stash (Stashes tab; asks confirmation), remote (Remotes tab; asks confirmation), submodule (Submodules tab; asks confirmation), or remove worktree and its folder (Worktrees tab; 1 only if it is clean, 2 force-remove discarding uncommitted changes)
s / SDetailStage selected hunk/line (Workspace tab StagingDetails focus), open Stashing UI overlay (Workspace tab files list focus), Prompt to save stash (Stashing UI / Stashes tab), or Open Repository Settings popup (Overview overlay)
u / UDetailUnstage selected hunk/line (Workspace tab StagingDetails focus), Toggle “Stash untracked files” option (Stashing UI), or Initialize / update the selected submodule (u) or every submodule (U) (Submodules tab; asks confirmation when one shows Modified)
iDetailToggle “Keep index” option (Stashing UI)
SpaceDetailPick / unpick the file under the cursor (Stashing UI). Once any file is picked, s stashes only the picked files
a / ADetailPick every listed file, or clear the picks when all are picked (Stashing UI)
zDetailStash the selected hunk, or the selected line in line mode (l), of an unstaged modified file and remove it from the working tree (Workspace diff / Inspect StagingDetails focus; applies immediately)
Ctrl+UInput (Stash)Toggle “Stash untracked files” option (Stash Create popup)
Ctrl+IInput (Stash)Toggle “Keep index” option (Stash Create popup)
mDetailMerge selected branch into current branch (Branches tab; asks confirmation)
MDetailCheckout selected local branch and merge the current branch into it (Branches tab, Local panel; asks confirmation). With the Remote panel focused, M falls through to a plain merge of the selected branch, same as m
rDetailRebase current branch onto selected branch (Branches tab; asks confirmation)
oDetailCheckout selected commit (Workspace commits list; asks confirmation), Open selected issue/PR in web browser (Forge tabs), or Accept OURS version of conflict (Workspace tab or Inspect view, Conflicts / ConflictDiff). O is reserved for the Overview overlay
tDetailAccept THEIRS version of conflict (Workspace tab or Inspect view, Conflicts / ConflictDiff)
rDetailMark conflict as resolved (Workspace tab or Inspect view, Conflicts / ConflictDiff)
ADetailAbort the merge (Workspace tab or Inspect view, Conflicts / ConflictDiff; asks confirmation)
CDetailContinue the merge (Workspace tab or Inspect view, Conflicts / ConflictDiff; asks confirmation)
MDetailOpen external mergetool (Workspace tab or Inspect view, Conflicts file list / ConflictDiff pane)
fDetailOpen search column picker and go to logs (Workspace tab)
RDetailResync the active tab state
?DetailToggle detail help overlay
Esc / q / Q / ?DetailHelpClose detail help overlay
⌃S (Ctrl+S)CommitInput (Edit)Submit / execute Git commit directly from edit mode
⌃A (Ctrl+A)CommitInput (Edit)Toggle amend last commit option
⌃D (Ctrl+D)CommitInput (Edit)Maximize / restore the popup window size
⌃C (Ctrl+C)CommitInput (Edit)Finish editing commit message (switches to confirm state)
⌃H (Ctrl+H)CommitInput (Edit)Open commit history picker
⌃U (Ctrl+U)CommitInput (Edit)Clear entire commit message buffer
⌃K (Ctrl+K)CommitInput (Edit)Kill (delete) text from cursor to end of line
⌃W (Ctrl+W)CommitInput (Edit)Delete the word before the cursor
⌃B / ⌃F (Ctrl+B / Ctrl+F)CommitInput (Edit)Move cursor left / right
⌃P / ⌃N (Ctrl+P / Ctrl+N)CommitInput (Edit)Move cursor one line up / down
↵ (Enter)CommitInput (Edit)Insert a newline
BackspaceCommitInput (Edit)Erase one character from commit message
EscCommitInputCancel commit and return to Detail view (in confirm state q also closes)
↵ (Enter)CommitInput (Confirm)Submit / execute Git commit
e / ECommitInput (Confirm)Edit / resume typing commit message
a / SpaceCommitInput (Confirm)Toggle amend last commit option
d / D / m / MCommitInput (Confirm)Maximize / restore the popup window size
x / X / u / UCommitInput (Confirm)Clear entire commit message buffer
Left-Click (Mouse)NormalSelect the clicked item
Double-Click (Mouse)NormalOpen Detail view for clicked item
Left-Click (Mouse)DetailShift focus to the clicked panel or change active tab
Left-Click + Drag (Mouse)DetailDrag panel boundary splitters to dynamically resize layout splits
Scroll Wheel (Mouse)Normal / DetailScroll selected list, graph view, branches, tree items, or unified diffs

Press ? at any time in normal mode to see the full keybinding reference as a centered popup. The help overlay only handles the dismissal keys — your selection and scroll position are preserved underneath.

The selected card’s border color mirrors the current operation mode:

  • Default (Muted) — browsing the list (unselected).
  • Cyan — browsing the list (selected).
  • Yellow — typing into the input field during add/edit; the selected card’s border turns yellow so you can see exactly which item will be replaced.
  • Red — awaiting delete confirmation; the doomed card’s border turns red.

The selected item is marked with a left-edge ▌ accent, a colored border, and bold text. In ADDING and EDITING modes the real terminal cursor sits at the end of your input so you can see exactly where the next character will land.

Repository Settings Popup controls:

When viewing the Repository Settings popup (entered via s on the repository Overview page):

  • ↑ / ↓ / j / k — Navigate settings rows.
  • Enter / Space — Toggle/Edit the selected setting:
    • For editable fields (Page Size, Max Commits, Auto Fetch interval, Editor Command, User Note, Git LFS Track): starts/enters editing mode (type and press Enter to confirm, Esc to cancel).
    • For action fields (Git LFS Pull, LFS Storage Size): triggers the pull background job or refreshes the storage size.
  • ← / → / h / l — Cycle options (Theme, Resync on Tab Change).
  • Esc / q — Close repository settings popup and return to repository Detail view.

Label Settings Popup controls:

When viewing the Label Settings popup (entered via → on a highlighted label in the label picker). Settings chosen here apply to every repository carrying that label, resolved between the per-repo override and the global default (repo → label → global):

  • ↑ / ↓ / j / k — Navigate settings rows.
  • Enter / Space — Toggle/Edit the selected setting:
    • For editable fields (Page Size, Max Commits, Auto Fetch interval, Editor Command): starts/enters editing mode (type and press Enter to confirm, Esc to cancel).
    • For option fields (Theme, Resync on Tab Change, Sort By, Sort Reverse, View Mode): steps to the next option.
  • ← / → / h / l — Cycle options (Theme, Resync on Tab Change, Sort By, Sort Reverse, View Mode). Sort By walks default → Custom → Alphabetical → Recent Visit → Latest Changes → default; Sort Reverse walks default → yes → no → default; View Mode walks default → Normal → Compact → Tile → default. All three apply only while that label’s filter is active; the sort rows re-sort the list at once if it is, and the View Mode row redraws it in the new layout.
  • Esc — Return to the label picker.

Customizing Keybindings

All bindings are stored in keybindings.toml next to your config.toml (e.g. ~/.gitwig/keybindings.toml or ~/.config/gitwig/keybindings.toml). Edit them in-app via Settings (s) → Keybindings, or in the file directly — each action holds a keys list, for example:

[navigation.grow_panel] keys = ["+"] description = "Grow the focused panel"

Entries in this file override the built-in defaults. Actions missing from the file are backfilled with their defaults on startup, but existing entries are generally not rewritten — so if a default changes in a newer Gitwig version (for example, panel grow was briefly bound to both + and = in development builds before settling on + alone), a previously written entry keeps the old keys until you edit it or delete the entry to re-adopt the default. The exception is a default that a newer version extended: an entry still holding exactly the old default was never customised, so it is moved onto the new one (so far only detail.move_up / detail.move_down, which gained K / J). An entry you changed is always left alone.

Not every key is configurable yet. The following views still match their keys in code and ignore keybindings.toml (only their generic navigation keys — ↑/↓/PgUp/PgDn/Home/End/Enter/Esc — follow the [navigation] section):

  • On the Branches tab, fetch (f/F) and add remote (a/A) are hard-coded (there is no [branches] entry for them).
  • On the Files tab, the tree’s Enter/→ folder toggle, ← collapse-all, and x/X discard are hard-coded; >, </,, and the rest of the [files] section are configurable.
  • The full-screen Logs view (l/L from the commits list) and the per-file History view (H from the Files tab) hard-code every key they handle.