Skip to content

Commit dd9b414

Browse files
committed
add keyboard and mouse controls into docs
1 parent 6e69c10 commit dd9b414

File tree

2 files changed

+66
-1
lines changed

2 files changed

+66
-1
lines changed
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Keyboard Shortcuts
3+
description: Master the workflow canvas with keyboard shortcuts and mouse controls
4+
---
5+
6+
import { Callout } from 'fumadocs-ui/components/callout'
7+
8+
Speed up your workflow building with these keyboard shortcuts and mouse controls. All shortcuts work when the canvas is focused (not when typing in an input field).
9+
10+
<Callout type="info">
11+
**Mod** refers to `Cmd` on macOS and `Ctrl` on Windows/Linux.
12+
</Callout>
13+
14+
## Canvas Controls
15+
16+
### Mouse Controls
17+
18+
| Action | Control |
19+
|--------|---------|
20+
| Pan/move canvas | Left-drag on empty space |
21+
| Pan/move canvas | Scroll or trackpad |
22+
| Select multiple blocks | Right-drag to draw selection box |
23+
| Drag block | Left-drag on block header |
24+
| Add to selection | `Mod` + click on blocks |
25+
26+
### Workflow Actions
27+
28+
| Shortcut | Action |
29+
|----------|--------|
30+
| `Mod` + `Enter` | Run workflow (or cancel if running) |
31+
| `Mod` + `Z` | Undo |
32+
| `Mod` + `Shift` + `Z` | Redo |
33+
| `Mod` + `C` | Copy selected blocks |
34+
| `Mod` + `V` | Paste blocks |
35+
| `Delete` or `Backspace` | Delete selected blocks or edges |
36+
| `Shift` + `L` | Auto-layout canvas |
37+
38+
## Panel Navigation
39+
40+
These shortcuts switch between panel tabs on the right side of the canvas.
41+
42+
| Shortcut | Action |
43+
|----------|--------|
44+
| `C` | Focus Copilot tab |
45+
| `T` | Focus Toolbar tab |
46+
| `E` | Focus Editor tab |
47+
| `Mod` + `F` | Focus Toolbar search |
48+
49+
## Global Navigation
50+
51+
| Shortcut | Action |
52+
|----------|--------|
53+
| `Mod` + `K` | Open search |
54+
| `Mod` + `Shift` + `A` | Add new agent workflow |
55+
| `Mod` + `Y` | Go to templates |
56+
| `Mod` + `L` | Go to logs |
57+
58+
## Utility
59+
60+
| Shortcut | Action |
61+
|----------|--------|
62+
| `Mod` + `D` | Clear terminal console |
63+
| `Mod` + `E` | Clear notifications |
64+

apps/docs/content/docs/en/meta.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,8 @@
1414
"execution",
1515
"permissions",
1616
"sdks",
17-
"self-hosting"
17+
"self-hosting",
18+
"./keyboard-shortcuts/index"
1819
],
1920
"defaultOpen": false
2021
}

0 commit comments

Comments
 (0)