diff --git a/README.md b/README.md index 46260723..ddfe2b95 100644 --- a/README.md +++ b/README.md @@ -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). diff --git a/SHORTCUTS.md b/SHORTCUTS.md new file mode 100644 index 00000000..26538c18 --- /dev/null +++ b/SHORTCUTS.md @@ -0,0 +1,30 @@ +# Shortcuts + +## Navigation + +| Shortcut | Description | +| -------------------------------------------------------------------- | ----------------------------------------------- | +| Space | Zoom on selection (Center view if no selection) | +| | Navigate between blocks / Inside an editor | +| Enter | Enter a block editor | +| Alt + | Navigate between blocks editors | +| Echap | Clear selection and block focus | +| Ctrl + + - | Zoom in/out | + +## Edition + +| Shortcut | Description | +| --------------------------------------------------------- | --------------------------------------- | +| Ctrl + N | Create a new graph | +| Ctrl + C | Copy selected blocks to scene clipboard | +| Ctrl + X | Cut selected blocks to scene clipboard | +| Ctrl + V | Paste scene clipboard on mouse location | +| Ctrl + D | Duplicate selected blocks | +| Shift + | Quick create a parent block | +| Shift + | Quick create a child block | + +## Execution + +| Shortcut | Description | +| ----------------------------------- | -------------------------------- | +| Shift + Enter | Run block (and its dependencies) |