enso/gui/docs/product/shortcuts.md

67 lines
2.8 KiB
Markdown
Raw Normal View History

---
layout: developer-doc
title: Shortcuts
category: product
tags: [product,ui]
---
### Graph Editor
#### Node Editing
| Shortcut | Action |
| -------- | ------ |
| <kbd>Ctrl</kbd>+<kbd>n</kbd> | Creates an empty node. |
| <kbd>Ctrl</kbd>+<kbd>Backspace</kbd> | Removes the selected nodes. |
#### Navigation
| Shortcut | Action |
| -------- | ------ |
| <kbd>Ctrl</kbd>+<kbd>Enter</kbd> | Step into the last selected node.
| <kbd>Ctrl</kbd>+<kbd>Arrow Up</kbd> | Step out of the current node.
#### Node Selection
| Shortcut | Action |
| --- | --- |
| <kbd>LMB</kbd> click node name | Deselect all nodes. Select the target node. |
| <kbd>LMB</kbd> click background | Deselect all nodes. |
| <kbd>LMB</kbd> drag background | Deselect all nodes. Select nodes using selection-box. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>LMB</kbd> click node name | Add or remove node from the selection group. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>LMB</kbd> click node name | Add or remove node from the selection group. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>LMB</kbd> drag background | Add nodes to the selection group. |
| <kbd>shift</kbd> + <kbd>LMB</kbd> click node name | Add node to the selection group. |
| <kbd>shift</kbd> + <kbd>LMB</kbd> drag background | Add nodes to the selection group. |
| <kbd>option</kbd> + <kbd>LMB</kbd> click node name | Remove node from the selection group. |
| <kbd>option</kbd> + <kbd>LMB</kbd> drag background | Remove nodes from the selection group. |
| <kbd>option</kbd> + <kbd>shift</kbd> + <kbd>LMB</kbd> click node name | Inverse node selection. |
| <kbd>option</kbd> + <kbd>shift</kbd> + <kbd>LMB</kbd> drag background | Inverse nodes selection. |
### Node dragging
| Shortcut | Action |
| -------- | ------ |
| LMB drag non-selected node name | Move the node to new position. |
| LMB drag selected node name | Move all selected nodes the node to new positions. |
### Visualization
| Shortcut | Action |
| -------- | ------ |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>space</kbd> | Toggle visualization visibility of the selected node. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>f</kbd> | Cycle visualizations of the selected node. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>\\</kbd> | Toggle documentation view visibility |
### Debug
| Shortcut | Action |
| -------- | ------ |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>d</kbd> | Send test data to the selected node. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>enter</kbd> | Push a hardcoded breadcrumb without navigating. |
| <kbd>cmd</kbd> / <kbd>ctrl</kbd> + <kbd>shift</kbd> + <kbd>arrow up</kbd> | Pop a breadcrumb without navigating. |