Skip to content

Commit e70480d

Browse files
🎉 Add SHORTCUTS.md
1 parent a21c9ed commit e70480d

File tree

2 files changed

+32
-0
lines changed

2 files changed

+32
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,8 @@ pip install byc-pyflow
7272
python -m pyflow
7373
```
7474

75+
See [SHORTCUTS.md](SHORTCUTS.md) for a better experience.
76+
7577
## Contributing
7678

7779
If you are interested in contributing to the project, see [CONTRIBUTING.md](CONTRIBUTING.md).

SHORTCUTS.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
# Shortcuts
2+
3+
## Navigation
4+
5+
| Shortcut | Description |
6+
| -------------------------------------------------------------------- | ----------------------------------------------- |
7+
| <kbd>Space</kbd> | Zoom on selection (Center view if no selection) |
8+
| <kbd>↑</kbd> <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Navigate between blocks / Inside an editor |
9+
| <kbd>Enter</kbd> | Enter a block editor |
10+
| <kbd>Alt</kbd> + <kbd>↑</kbd> <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Navigate between blocks editors |
11+
| <kbd>Echap</kbd> | Clear selection and block focus |
12+
| <kbd>Ctrl</kbd> + <kbd>+</kbd> <kbd>-</kbd> | Zoom in/out |
13+
14+
## Edition
15+
16+
| Shortcut | Description |
17+
| --------------------------------------------------------- | --------------------------------------- |
18+
| <kbd>Ctrl</kbd> + <kbd>N</kbd> | Create a new graph |
19+
| <kbd>Ctrl</kbd> + <kbd>C</kbd> | Copy selected blocks to scene clipboard |
20+
| <kbd>Ctrl</kbd> + <kbd>X</kbd> | Cut selected blocks to scene clipboard |
21+
| <kbd>Ctrl</kbd> + <kbd>V</kbd> | Paste scene clipboard on mouse location |
22+
| <kbd>Ctrl</kbd> + <kbd>D</kbd> | Duplicate selected blocks |
23+
| <kbd>Shift</kbd> + <kbd>↑</kbd> | Quick create a parent block |
24+
| <kbd>Shift</kbd> + <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Quick create a child block |
25+
26+
## Execution
27+
28+
| Shortcut | Description |
29+
| ----------------------------------- | -------------------------------- |
30+
| <kbd>Shift</kbd> + <kbd>Enter</kbd> | Run block (and its dependencies) |

0 commit comments

Comments
 (0)