Docs / Using the editor
Keyboard shortcuts
Everything you can do from the keyboard, in one table per place.
Ctrl means Ctrl on Windows and Linux and Cmd on Mac. These docs show the right one for your computer.
In the editor, press ? to see the most common shortcuts at any time, or choose Keyboard shortcuts in the gear menu.
Writing in the editor
| Keys | Action |
|---|---|
| Tab | Indent: insert two spaces, or indent every selected line |
| Shift+Tab | Outdent the selected lines |
| Enter | New line with the same indentation, one level deeper after if, else or group |
| Ctrl+/ | Comment or uncomment the selected lines |
| Ctrl+Space | Suggest lane names. Ctrl on Mac too. |
| ↑ ↓ | Move through lane suggestions while the list is open |
| Enter or Tab | Accept the highlighted suggestion |
| Esc | Close suggestions. With none open, release the editor so the next Tab moves focus out. |
Reading a diagram
These work when focus is not in the editor or another text box.
| Keys | Action |
|---|---|
| J or ↓ | Select the next message, once one is selected |
| K or ↑ | Select the previous message |
| Esc | Clear the selection and close the inspector |
| ? | Show keyboard shortcuts |
| Alt+Shift+A | Switch to the agent view and back. Option+Shift+A on Mac. |
Presenting
| Keys | Action |
|---|---|
| →, ↓, Space, PageDown or J | Next step |
| ←, ↑, Shift+Space, PageUp or K | Previous step |
| Home | Back to the start |
| End | Last step |
| Esc | Stop presenting |
The divider between panes
Focus the divider with Tab, then:
| Keys | Action |
|---|---|
| ← → | Make the source pane narrower or wider |
| Shift+← Shift+→ | The same, in bigger steps |
| Home End | Narrowest or widest source pane |
Double-click the divider to reset it.
These docs
| Keys | Action |
|---|---|
| / or Ctrl+K | Search the docs |
| ↑ ↓ | Move through search results. Ctrl+N and Ctrl+P work too. |
| Enter | Open the highlighted result |
| Ctrl+Enter | Open the highlighted result in a new tab |
| [ and ] | Previous and next page |
| G then H | Docs home |
| T | Back to the top of the page |
| ? | Show the docs shortcuts |
| Esc | Close search or the shortcuts list |