Keyboard shortcuts
The review UI is keyboard-first. Press ? in the review for this sheet.
Move
| Key | Action |
|---|---|
j / k | Next / previous hunk |
J / K | Next / previous file |
n | Next unreviewed file, rolling into the next layer or commit when the current one is read |
] / [ | Next / previous layer (when the agent has posted layers), or commit when the Layers tab reads by commit |
. | Next decision in this layer: opens its card and lands on the first place it names (see Decisions) |
/ | Filter files |
⌘K | Jump to a layer, file, thread or action by typing part of its name |
Explore
| Key | Action |
|---|---|
| hover a name | Its definition (with the first lines of its implementation) and where it is used, in this change or the whole repo. space opens the definition, tab switches between the two lists |
⌘-click a name | Go straight to its definition. Inside the file explorer a plain click does |
⌘⇧E | Open / close the file explorer: every file in the repository, read-only |
⌘P | Go to any file in the repository by typing part of its name or path |
⌥← / ⌥→ | Back / forward through the definitions and files you jumped to in the explorer |
The file explorer opens on a definition with its whole implementation lit. From the diff, a definition the diff already shows opens there instead, where you can comment on it in place; inside the explorer every jump stays in the explorer. Hover a line in the explorer for a + in its gutter to comment on code outside the change: the thread goes to your agent with the lines quoted (never to GitHub, which takes comments on the diff alone) and reads with the notes on the whole changeset. A link like #explore=src/util.ts:42 opens the explorer on that line.
Read
| Key | Action |
|---|---|
v | Mark this file reviewed |
h | Hide reviewed files |
u | Unified / split |
o | Collapse / expand file |
b | Show / hide the sidebar. Hidden, it leaves a strip of layer numbers |
z | Focus: hide the sidebar and give the page the full width |
Comment
| Key | Action |
|---|---|
c | Comment on the clicked line, or on this hunk when no line is clicked |
⌘↵ | Add the comment |
⌘. | On a pull request, flip the composer between Comment on PR and Ask agent |
esc | Close / cancel |
? | This sheet |
With layers, J / K stay inside the active layer and ] / [ step between layers, skipping any layer the filters have emptied. n walks the whole plan: once the active layer is read it moves on to the first unread file in the next.
v marks a whole file, not the hunk under the cursor, which is worth knowing because coverage is reported per hunk. Reading every hunk in a file and pressing v are two different claims, and Finish review sends both.
⌘↵ adds the comment and leaves it in your review; it does not send it to the agent. Sending is Send to agent on a single thread, or Finish review for the batch. On a pull request ⌘. picks the side first: a comment for GitHub, or a private question for the agent (see Two kinds of comment).
Multi-line comments are mouse grammar rather than keys: drag down the line numbers to select a range, shift-click a line number to move the open composer's free edge there, and the ▲/▼ on the composer's chip walk that edge one line at a time, through the starting line and out the other side, so a run of ▼ reads "this line as top, N lines down". Every press is reversible.