agex
Docs menuKeyboard shortcuts

Reference

Keyboard shortcuts

Every keyboard shortcut in agex, grouped by where you use it.

To change any of these, see Keybindings.

General

KeysAction
⌘,Settings
⌘OAdd a project folder
⌘1–⌘9, ⌥⌘↑ ⌥⌘↓Switch project
⌘TNew terminal
⇧⌘TStart your default agent (the first detected one, unless you set agents.default)
⌘JJump to the agent waiting for your answer, then one that's done (or the next agent)
⇧⌘IContext details: what fills the agent's context window (toggles the Session panel when it's on)
⌘= ⌘- ⌘0Font size: bigger, smaller, back to your setting

Terminals and agents

KeysAction
⌘C ⌘V ⌘K ⌘ACopy, paste, clear, select all
⇧↵Newline in agent prompts (sends ESC CR)

The first-launch intro

KeysAction
Esc or ↵Skip to the window

Panes and tabs

KeysAction
⌘D / ⇧⌘DSplit right / down
⌘WClose tab
⌘[ / ⌘]Previous / next pane
⇧⌘[ / ⇧⌘], ⌃TabPrevious / next tab
⌘BToggle the sessions sidebar

Panels and the command palette

KeysAction
⇧⌘GToggle Source Control
⇧⌘EToggle Files
⇧⌘FSearch in files (fills the box with the editor's selection)
⇧⌘HReplace in files
⇧⌘NToggle Notes
⌘PGo to file
⌘EOpen files: jump to, or close, a tab open in the project
⇧⌘PCommand palette: every command in the app

In the command palette

Type or pressAction
name:42 in ⌘POpen the file at line 42
edt in ⌘PSwitch to the open files list (⌘E)
> in ⌘PSwitch to commands (⇧⌘P); delete it to go back to files
↵ in the open files listJump to the tab
⌘W in the open files listClose the tab without leaving the list

In the commit box

KeysAction
⌘↵Commit
↵Add a line

Editor

KeysAction
⌘SSave
⌘Z / ⇧⌘ZUndo / redo
⌘/Toggle comments
⌥↑ / ⌥↓Move lines up / down
⇧⌥↓Duplicate lines
⌘LSelect the line
Tab / ⇧TabIndent / outdent

Find and replace in a file

KeysAction
⌘F / ⌥⌘FFind / replace
↵ / ⇧↵, or ⌘G / ⇧⌘GNext / previous match
⌥⌘↵Replace all
⌥⌘CToggle match case
⌥⌘WToggle whole word
⌥⌘RToggle regular expression

Files panel

KeysAction
↑ ↓Move
← →Collapse / expand
↵Open
SpaceOpen without leaving the tree
F2Rename
⌘⌫Move to Trash
⌥⌘CCopy path
⇧⌥⌘CCopy relative path
Type a nameJump to the next name starting with what you typed

Search panel

KeysAction
⌥⌘CToggle match case
⌥⌘WToggle whole word
⌥⌘RToggle regular expression
⇧⌘JShow files to include and files to exclude
TabMove between the boxes
⌥⌘↵Replace all, after a confirmation
↓From a box, move into the results
↑ ↓Move through the results
← →Fold or unfold files
↵Open
SpacePreview
⌫Dismiss a result
⌘CCopy
KeysAction
↵Resume the top match
EscClear the search, then close the box

Notes

KeysAction
/List every kind of block
↵Add a block
⌫At the start of a block, join it to the one above
Tab / ⇧TabIndent / outdent
⌘↵Check a to-do off
⇧⌘↑ / ⇧⌘↓Move the block up / down
⌘Z / ⇧⌘Z or ⌘YUndo / redo
⇧⌘↵Send to agent: the selection, or the whole block you're in

Selecting blocks

KeysAction
⇧↑ / ⇧↓, Esc, or ⌘A twiceSelect whole blocks. You can also drag from one block into another, or ⇧-click.

With blocks selected

KeysAction
⌫Delete them
⌘C / ⌘X / ⌘VCopy, cut and paste them as markdown
Tab / ⇧TabIndent / outdent
⌘↵Check the to-dos off
⇧⌘↑ / ⇧⌘↓Move them up / down
⌘DDuplicate them
↵Go back to editing

Settings page

KeysAction
↑ ↓, ↵Pick in a select box
EscClose a select box