Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Complete Keybinding Reference

This page is the canonical reference for every keybinding in AZUREAL. It is organized by context – the mode or panel that must be active for the keybinding to apply. For conceptual explanations of the modal input system, see Keybindings & Input Modes.

Platform note: This reference uses macOS modifier notation (Cmd, Ctrl, Alt/Option). On Windows and Linux, substitute Ctrl for Cmd and Alt for Ctrl in most cases. See Platform Differences for the full mapping table.


Global (Command Mode)

These keybindings are available in command mode across the main worktree view. They do not fire during text input (prompt mode, edit mode, terminal type mode, or active filter/search inputs).

KeyActionNotes
Ctrl+QQuitPrompts confirmation if agents are running
Ctrl+DDebug dumpOpens naming dialog, then writes state snapshot to file
Ctrl+C / Alt+CCancel agentKills the active agent in the current slot. macOS uses Ctrl+C; Windows/Linux uses Alt+C
Cmd+C / Ctrl+CCopy selectionCopies from whichever pane has an active text selection. macOS uses Cmd+C; Windows/Linux uses Ctrl+C
Ctrl+MCycle modelRotates through available models: opus, sonnet, haiku, gpt-5.4, and others
?Help overlayOpens the help overlay showing all keybindings for the current context
pEnter prompt modeFocuses the input area for typing a prompt. Closes the terminal if it is open
TToggle terminalOpens or closes the embedded terminal pane
GGit panelOpens the git panel overlay
HHealth panelOpens the health panel overlay
MBrowse main branchSwitches view to the main branch (read-only browse)
PProjects panelOpens the projects panel overlay
rRun commandOpens the run-command picker, or executes directly if only one command is registered
RAdd run commandOpens the dialog to register a new run command
[ / ]Switch worktree tabMoves to the previous/next worktree tab. Wraps around at both ends
Tab / Shift+TabCycle pane focusCycles focus through FileTree, Viewer, Session, and Input in order

Worktree Actions

Worktree operations use either a W leader key sequence (press W, then the action key) or a direct key when the worktree tab row is focused. See Leader Sequences for details on the leader key mechanism.

KeyAction
Wn / nCreate new worktree
Wr / rRename worktree
Wa / aArchive or unarchive worktree (toggles based on current state)
Wd / dDelete worktree

Input / Prompt Mode

Active when the input area is focused for typing a prompt to an agent. The input area border turns yellow to indicate prompt mode.

KeyAction
EnterSubmit prompt
Shift+EnterInsert newline
EscReturn to command mode
Ctrl+S / Alt+SToggle speech-to-text
Alt+PPreset prompts picker
Alt+1 through Alt+9, Alt+0Quick-select preset
Up / DownHistory prev/next
Alt+Left / Alt+RightWord navigation
Ctrl+WDelete word

Session Pane (Command Mode)

These keybindings apply when the session pane is focused and you are in command mode (not typing a prompt).

KeyAction
j / kScroll line
J / KPage scroll
Up / DownJump to next/prev message
Shift+Up / Shift+DownJump to next/prev prompt
Alt+Up / Alt+DownTop / bottom
aNew session
sToggle session list
/Search text
n / NNext/prev search match

Session List Overlay

The session list is a modal overlay for browsing, loading, and managing saved sessions. It appears over the session pane when s is pressed.

KeyAction
j / kNavigate
J / KPage scroll
EnterLoad session
aNew session
rRename session
/Filter by name
//Content search
s / EscClose

File Tree

These keybindings apply when the file tree pane is focused.

KeyAction
j / k / Up / DownNavigate
h / LeftCollapse / go to parent
l / RightExpand directory
EnterOpen file / toggle directory
SpaceToggle directory
Alt+Right / Alt+JRecursive expand
Alt+Left / Alt+KRecursive collapse
Alt+Up / Alt+DownJump to first/last sibling
aAdd file/directory
dDelete
rRename
cCopy (clipboard mode)
mMove (clipboard mode)
OOptions overlay

Viewer

These keybindings apply when the file viewer pane is focused in its default read-only mode.

KeyAction
j / kScroll line
J / KPage scroll
Alt+Up / Alt+DownTop / bottom
Alt+Left / Alt+RightCycle through edits
eEnter edit mode
Cmd+A / Ctrl+ASelect all
tSave to tab
Alt+TTab picker dialog
xClose current tab
EscClose viewer

Edit Mode

Active when the viewer is in edit mode (entered with e from the viewer). The viewer border changes to indicate edit mode is active.

KeyAction
Any printable keyInsert text
Backspace / DeleteDelete character
Arrow keysMove cursor
Home / EndLine start/end
Cmd+S / Ctrl+SSave
Cmd+Z / Ctrl+ZUndo
Cmd+Shift+Z / Ctrl+YRedo
Ctrl+S / Alt+SSpeech-to-text
EscExit edit mode

Terminal Command Mode

Active when the terminal pane is visible and focused, but you have not entered type mode. The terminal border turns azure. All global keybindings continue to work in this mode.

KeyAction
tEnter type mode
EscClose terminal
+ / -Resize height
All globalsWork normally

Terminal Type Mode

Active when the terminal is in type mode (entered with t from terminal command mode). All keystrokes are forwarded to the PTY except the escape and navigation overrides listed below.

KeyAction
EscExit type mode
Alt+Left / Alt+RightWord navigation
Ctrl+Left / Ctrl+RightWord navigation
All other keysForward to PTY

Git Panel

The git panel is a modal overlay opened with G. It has three focus areas – Actions (pane 0), Files (pane 1), and Commits (pane 2) – cycled with Tab/Shift+Tab. The Viewer pane always shows the diff for the selected file or commit but is not a separate focus target. Some keybindings are context-dependent based on which area is focused and whether the current worktree is the main branch or a feature branch.

Actions Pane

KeyActionContext
lPullMain branch only
mSquash mergeFeature branch only
RRebaseFeature branch only
cCommitAny branch
PPushAny branch
zStashAny branch
ZStash popAny branch
aToggle auto-rebaseFeature branch only
sAuto-resolve settingsActions pane only

Files Pane

KeyAction
j / kNavigate
sToggle stage/unstage
SStage/unstage all
xDiscard changes
Enter / dView diff

Commits Pane

KeyAction
j / kNavigate
Enter / dView diff

Panel-Level

KeyAction
Tab / Shift+TabCycle pane focus
[ / ]Switch worktree
{ / }Jump page
rRefresh
Cmd+A / Ctrl+ASelect all (viewer)
Cmd+C / Ctrl+CCopy selection
J / PageDownPage down diff
K / PageUpPage up diff
EscClose panel

Commit Editor

The commit editor appears when c is pressed in the git panel actions pane. It provides a text input area for composing a commit message (optionally pre-filled with an AI-generated message).

KeyAction
EnterCommit
Cmd+PCommit + push
Shift+EnterInsert newline
EscCancel

Health Panel

The health panel is a modal overlay opened with H. It has two tabs – God Files and Documentation – switched with Tab. Some keybindings differ by tab.

Both Tabs

KeyAction
j / kNavigate
J / KPage scroll
Alt+Up / Alt+DownJump top/bottom
SpaceToggle check
aToggle all
vView checked as tabs

Tab-Specific

KeyActionTab
Enter / mModularizeGod Files – spawn an agent to split the selected file
Enter / mDocumentDocumentation – spawn an agent to document the selected item

Panel-Level

KeyAction
sScope mode
TabSwitch tab
EscClose panel

Projects Panel

The projects panel is a modal overlay opened with P. When AZUREAL starts outside of a git repository, this panel appears automatically as a full-screen view.

KeyAction
j / kNavigate
EnterSwitch to project
aAdd project
dDelete from list
nRename display name
iInitialize git repo
EscClose
Ctrl+QQuit

Quick Reference by Key

The table below lists every single-key binding and its meaning across different contexts. This is useful for answering “what does this key do?” when you are unsure of your current context.

KeyCommand ModeSession PaneFile TreeViewerGit PanelHealth PanelProjects Panel
aNew sessionAdd fileAuto-rebase / Toggle allToggle allAdd project
cCopy (clipboard)Commit
dDeleteView diffDelete project
eEdit mode
iInit git repo
jScroll downNavigate downScroll downNavigate downNavigate downNavigate down
kScroll upNavigate upScroll upNavigate upNavigate upNavigate up
lExpandPull (main)
mMove (clipboard)Squash mergeModularize/Document
nNext matchRename
pPrompt mode
rRun commandRenameRefresh
sSession listStage / Auto-resolve / ScopeScope mode
tSave to tab
vView as tabs
xClose tabDiscard changes
zStash
?Help overlay
/Search

Platform Modifier Summary

For quick reference, here is the modifier key mapping between platforms. The full explanation is at Platform Differences.

ActionmacOSWindows / Linux
CopyCmd+CCtrl+C
Cancel agentCtrl+CAlt+C
SaveCmd+SCtrl+S
UndoCmd+ZCtrl+Z
RedoCmd+Shift+ZCtrl+Y
Select allCmd+ACtrl+A
STT (edit/prompt)Ctrl+SAlt+S

Non-modifier keys (p, j, k, T, G, ?, /, etc.) are identical on all platforms. When in doubt, press ? to see the correct bindings for your system.