Skip to content

Commit

Permalink
🎉 Add SHORTCUTS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
MathisFederico committed Feb 24, 2022
1 parent a21c9ed commit e70480d
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,8 @@ pip install byc-pyflow
python -m pyflow
```

See [SHORTCUTS.md](SHORTCUTS.md) for a better experience.

## Contributing

If you are interested in contributing to the project, see [CONTRIBUTING.md](CONTRIBUTING.md).
Expand Down
30 changes: 30 additions & 0 deletions SHORTCUTS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# Shortcuts

## Navigation

| Shortcut | Description |
| -------------------------------------------------------------------- | ----------------------------------------------- |
| <kbd>Space</kbd> | Zoom on selection (Center view if no selection) |
| <kbd>↑</kbd> <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Navigate between blocks / Inside an editor |
| <kbd>Enter</kbd> | Enter a block editor |
| <kbd>Alt</kbd> + <kbd>↑</kbd> <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Navigate between blocks editors |
| <kbd>Echap</kbd> | Clear selection and block focus |
| <kbd>Ctrl</kbd> + <kbd>+</kbd> <kbd>-</kbd> | Zoom in/out |

## Edition

| Shortcut | Description |
| --------------------------------------------------------- | --------------------------------------- |
| <kbd>Ctrl</kbd> + <kbd>N</kbd> | Create a new graph |
| <kbd>Ctrl</kbd> + <kbd>C</kbd> | Copy selected blocks to scene clipboard |
| <kbd>Ctrl</kbd> + <kbd>X</kbd> | Cut selected blocks to scene clipboard |
| <kbd>Ctrl</kbd> + <kbd>V</kbd> | Paste scene clipboard on mouse location |
| <kbd>Ctrl</kbd> + <kbd>D</kbd> | Duplicate selected blocks |
| <kbd>Shift</kbd> + <kbd>↑</kbd> | Quick create a parent block |
| <kbd>Shift</kbd> + <kbd>↓</kbd> <kbd>←</kbd> <kbd>→</kbd> | Quick create a child block |

## Execution

| Shortcut | Description |
| ----------------------------------- | -------------------------------- |
| <kbd>Shift</kbd> + <kbd>Enter</kbd> | Run block (and its dependencies) |

0 comments on commit e70480d

Please sign in to comment.