> ## Documentation Index
> Fetch the complete documentation index at: https://docs.docwriter.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Keyboard shortcuts

> Every keyboard shortcut DocWriter supports.

Shortcuts marked `Cmd/Ctrl` use `Cmd` on macOS and `Ctrl` everywhere
else.

## In the editor

| Shortcut                              | What it does                                                                                                         |
| ------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `Cmd/Ctrl+Enter`                      | Wake the agent immediately, skipping the 3-second idle timer (no-op while the agent is paused).                      |
| `Cmd/Ctrl+Z`                          | Undo. Tagged transactions: undoes the most recent user typing **or** the most recent agent edit, whichever was last. |
| `Cmd/Ctrl+Shift+Z`                    | Redo.                                                                                                                |
| `Cmd/Ctrl+F`                          | Open the find bar (scoped to the active tab).                                                                        |
| `Esc` (in find bar)                   | Close the find bar.                                                                                                  |
| `Enter` / `Shift+Enter` (in find bar) | Step to next / previous match.                                                                                       |
| `Cmd/Ctrl+S`                          | Explicit save. A no-op — DocWriter autosaves continuously — but accepted as a marker for users with the habit.       |
| Triple-click                          | Select an entire paragraph, which opens the inline-feedback popup anchored to the selection.                         |

## In the inline-feedback popup

You can use the mouse or keyboard to select text and open the popup. For
example, hold Shift while you use the arrow keys, or press `Cmd/Ctrl+A`.
The cursor is already in the input when you finish the selection, so
you enter text there with most keys. Use these keys for other actions:

| Shortcut                             | What it does                                                                                                                                    |
| ------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------- |
| `Enter`                              | Submit the typed feedback to the agent.                                                                                                         |
| `Shift+Enter`                        | Newline in the input (multi-line feedback).                                                                                                     |
| `Esc`                                | Close the popup, keep the selection, and return the caret to the document. The popup does not reopen for that same selection.                   |
| `Cmd/Ctrl+A` (empty input)           | Select all in the editor (not the input).                                                                                                       |
| `Backspace` / `Delete` (empty input) | Delete the highlighted text from the document. Useful when you highlighted a passage planning to give feedback but then decided to just cut it. |

## In the chat popover

The chat popover (Send button, top-right of the editor) handles
multi-line input differently from a typical chat:

| Shortcut         | What it does                                                          |
| ---------------- | --------------------------------------------------------------------- |
| `Enter`          | New line in the message. Plain Enter does **not** send.               |
| `Cmd/Ctrl+Enter` | Send the message.                                                     |
| `Esc`            | Close the popover. Doesn't discard text — it's restored on next open. |

## In pending-review cards (right pane)

| Shortcut                                 | What it does                            |
| ---------------------------------------- | --------------------------------------- |
| `Esc` (in retry-feedback box)            | Close the retry-feedback popover.       |
| `Cmd/Ctrl+Enter` (in retry-feedback box) | Submit the retry feedback to the agent. |

## In menus and dialogs

| Shortcut                  | What it does                                                       |
| ------------------------- | ------------------------------------------------------------------ |
| `Esc`                     | Close the open menu, dialog, or context menu (file tree, tab bar). |
| `Enter` (in rename input) | Commit a rename (file tree, tab bar).                              |

## Mouse shortcuts that aren't quite keyboard

| Action                       | What it does                                                                                                                                |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------- |
| Double-click the Agent pill  | Pause or resume the agent. While paused: no idle auto-wake, Wake up, Send, or `Cmd/Ctrl+Enter`. Double-click again to resume.               |
| Double-click in PDF preview  | Synctex backward jump: scrolls the editor to the source line for that PDF position. Requires `synctex` on `$PATH` and a `-synctex=1` build. |
| Click on a pending-edit card | Scrolls the editor to where the edit applies.                                                                                               |
| Click on a TOC entry         | Scrolls the editor to that heading.                                                                                                         |
| Right-click in file tree     | Opens context menu (new file, new folder, rename, delete).                                                                                  |
