Keyboard shortcuts¶
This page lists every keyboard shortcut and menu command Dragon Rider has on the Mac, beyond the ones every Mac app has.
| Keys | Where | What it does |
|---|---|---|
| Return | In the prompt | Sends the prompt. If the agent is still working, the prompt waits and goes when the turn ends; on some runtimes Send now puts it into the running turn. See Send a prompt while an agent is working. |
| Option-Return | In the prompt | Starts a new line. |
| Command-Return | In the prompt | Sends the prompt, the same as the send button. |
| Tab | In the prompt, with a suggestion showing | Takes the suggested prompt into the prompt, for you to send or change. |
| Escape | In the prompt, with a suggestion showing | Puts the suggestion away until the next turn ends. |
/ |
In the prompt, at the start of a word | Lists the runtime's commands that match what you type. |
@ |
In the prompt | Lists the folder's files that match what you type, to attach one. |
| Up Arrow, Down Arrow | In the prompt, with a list of commands or files showing | Moves through the list. |
| Return or Tab | In the prompt, with a list of commands or files showing | Takes the chosen command or file. |
| Escape | In the prompt, with a list of commands or files showing | Closes the list. |
| Command-N | File ▸ New Session | Starts a new session in the selected folder, the same as the compose button above the sessions column. |
| Option-Command-N | File ▸ New Session in a Worktree | Starts a new session in the selected folder, in a new worktree. |
| Shift-Command-N | File ▸ New Session in Background | Opens a small window that starts a session and then closes. The main window stays on what it shows, and the new session shows in the sidebar. Esc closes the window and keeps the typed prompt for the next time. |
| Set in Settings ▸ Machines ▸ This Mac ▸ Keyboard | New Session in Background, from any app | Opens the same window while Agent Loops is running. Starting a session or pressing Escape returns focus to the previous app. |
| Command-O | File ▸ Add Folder… | Adds a folder as a folder. |
| Shift-Command-O | File ▸ Clone Folder from Git URL… | Clones a Git URL as a folder. |
| Control-Command-O | File ▸ Add a Machine… | Adds a machine, as Settings ▸ Machines does. Off with no control plane. |
| Shift-Command-R | File ▸ Show in Finder | Shows the agent's or folder in Finder. |
| Option-Command-, | File ▸ Project Settings… | Opens the selected folder's project's settings: its tools, helper limits, policy, instructions, skills, plugins and connectors. Folder Settings… is on the folder's menu. |
| Command-. | Session ▸ Stop | Stops the agent and stays on the conversation. |
| Shift-Command-Return | Session ▸ Carry On | Tells an agent blocked under Needs you that its block has gone, or a Waiting one that its wait is over early. |
| Option-Command-Delete | Session ▸ Archive or Unarchive | Archives the session, or unarchives an archived one. |
| Delete | Selected session(s) in the sessions list | Archives the highlighted session, or every highlighted one that is not already archived (⌘-click to pick several). |
| Command-Z | Session ▸ Undo Archive | Brings back the session you just archived, while the strip that says so shows. See Stop and archive agents. |
| Shift-Command-' | Session ▸ Quote in Prompt | Quotes the words you selected in a reply in the prompt. |
| Shift-Option-Command-O | Session ▸ Open in New Window | Opens the session in a window of its own. See Open a session, a folder or a Work page in its own window. |
| Option-Command-O | Window ▸ Open Folder in New Window | Opens the selected folder in a window of its own. |
| Option-Escape | Edit ▸ Complete | In the file editor, asks the file's language server what to write at the caret. See Edit files. |
| Up Arrow, Down Arrow | In an empty prompt | Brings back the prompts you sent before, one at a time. See Send a prompt while an agent is working. |
| Option-Command-B | Session ▸ Branch | Starts a new agent from this conversation so far. |
| Option-Command-Down Arrow, Option-Command-Up Arrow | Go ▸ Next Session, Previous Session | Moves through the sessions in the list. |
| Command-J | Go ▸ Next Needing Attention | Opens the next session under Needs you, then the next unread finished session. |
| Control-Command-1 to 9 | Go ▸ a folder | Opens that folder. |
| Option-Command-I | View ▸ Show Inspector or Hide Inspector | Opens or closes the sidebar beside the conversation. |
| Command-1 to Command-8 | View ▸ Files, Changes, Terminal, Browser, Exchanged, Background, Simulator, Agent Browser | Opens that pane of the sidebar. While a permission or question card is up, these yield to the card's answers. |
| Control-` | View ▸ Folder Terminal | Shows or hides the selected folder's own shells, one to a tab, in its folder under the page, with or without an agent chosen. Hiding them leaves them running. |
| Command-+, Command-- | View ▸ Zoom In, Zoom Out | Makes the text of the Markdown page in front larger or smaller. |
| Command-0 | View ▸ Actual Size | Puts the Markdown page in front back to its own size. With no page in front, Command-0 is Window ▸ Agents (All Folders). |
| Command-Down Arrow | View ▸ Jump to Latest | Scrolls the conversation to its end. |
| Option-Command-E | View ▸ Events | Opens the Events page. |
| Option-Command-L | View ▸ Resources | Opens the Resources page, which shows who holds or is waiting for the simulators, browsers and screen. |
| Option-Command-R | View ▸ Runtimes | Opens the Runtimes page, which shows what each runtime can be started on right now and where its allowance stands. |
| Option-Command-S | View ▸ Cost | Opens the Cost report. See See usage, cost and time and See Limit what agents spend. |
| Command-F | View ▸ Find in Chat | With a chat open in the main window, finds words in its prompts and replies. See Find in a chat or a session. With no chat open, Command-F is Find Session. |
| Option-Command-F | View ▸ Find Session | With a chat open, puts the keyboard in the sessions column's search field. |
| Command-P | Go ▸ Open File… | Finds a file in the open session's folders by name, to read or edit. |
| Command-? | Help ▸ Agents Help | Opens these docs. |
| Command-, | Dragon Rider ▸ Settings… | Opens Settings and the Resources page. |
| Return, Escape | In a sheet or dialog | Takes the highlighted button, or cancels. |
| Return | On a permission or question card | Takes the first allowing answer, or Submit on a multi-step form. |
| Command-1 to Command-9 | On a permission or question card | Picks that option by position. |
| Command-. | In a shell | Interrupts what is running, as Control-C does, instead of stopping the agent. |
| Command-K | In a shell | Clears the screen and what scrolled off it. |
| Command-F | In a shell | Finds in the shell's text, instead of finding a session. |
| Command-T, Command-W | In a shell | Opens another shell, or closes this one. |
While a shell has the keyboard, every other shortcut on this page still works, with no need to click out of it first. See Use a shell in an agent's folder.