Skip to content

Keyboard Shortcuts

Glint uses a hierarchical shortcut system. Shortcuts are scoped to the active context — shortcuts from deeper layers take priority when that context is active.

Shortcut Layers

From lowest to highest priority:

  1. App — always active
  2. Repo Tab — active when a Repo or Worktree tab is focused
  3. Content Tab — active for the current content tab type
  4. Mode — active for the current mode within a content tab

Viewing All Shortcuts

Press Ctrl+/ or F1 to open the keyboard shortcuts dialog. It shows all shortcuts across the hierarchy, including which layers are currently active or inactive.

App Shortcuts

ShortcutAction
Ctrl+/ or F1Open keyboard shortcuts
Ctrl+TabNext content tab
Ctrl+Shift+TabPrevious content tab
Ctrl+WClose active content tab

Layout Shortcuts

ShortcutLayout
Alt+1Side-by-Side
Alt+2Studio
Alt+3Widescreen
Alt+4Ultrawide
Alt+5Focus
Alt+6Workbench
Alt+7Workshop
Alt+8Command Center
Alt+9Three Column

Repo Tab Shortcuts

These require the relevant repository capability (git, issues, etc.):

ShortcutAction
Ctrl+Shift+BOpen Branches
Ctrl+Shift+GOpen Tags
Ctrl+Shift+HOpen Stashes
Ctrl+Shift+LOpen Reflog
Ctrl+Shift+AOpen Actions

Content Tab Shortcuts

Some content tabs define their own shortcuts when active:

Reflog

ShortcutAction
Up/DownSelect entry
EnterToggle diff
CReset to entry
RRefresh

Actions

ShortcutAction
Up/Down or j/kSelect run
EnterOpen in browser

PR Changed Files

ShortcutAction
j/kNext/previous file
n/pNext/previous change
eExpand/collapse

Tab Navigation

ShortcutAction
Alt+LeftBack (detail tabs)
Alt+RightForward (detail tabs)

Notes

  • Shortcuts use key position (event.code), so they work consistently across keyboard layouts
  • When a Terminal tab is active, most shortcuts are passed through to the terminal
  • Text input fields take priority over single-key shortcuts