Shortcuts
~~~~~~~~~

While not an exhuaustive list, this shows the most
common shortcuts available in Material Maker.

On macOS, :kbd:`Ctrl` commonly corresponds to :kbd:`Cmd`
whereas equivalent of :kbd:`Alt` is :kbd:`Option`.

General
+++++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`F1`                                             | Open user manual                                   |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-F1`                                    | Open user manual for selected library item         |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-,`                                     | Open preferences                                   |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Q`                                     | Quit                                               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-Q`                               | Close project                                      |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-N`                                     | New material project                               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-S`                                     | Save project                                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-S`                               | Save project as                                    |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-O`                                     | Load project                                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-N`                               | New paint project                                  |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-E`                               | Quick export                                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-E`                                     | Export material again                              |
+-------------------------------------------------------+----------------------------------------------------+

Graph Editor
++++++++++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`MMB` | :kbd:`Shift-LMB`                         | Pan                                                |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`G`                                              | Toggle grab mode on selected node(s)               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Wheel`                                          | Zoom in/out                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Wheel`                                          | Cycle between tabs (when hovering over tab bar)    |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl-MMB`                                       | Zoom view                                          |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-0`                                     | Reset zoom                                         |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd`                                       | Snap nodes to grid (during node offsets)           |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Shift-LMB`                                      | Show selected node/port output in Preview2D(2)     |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`LMB`                                            | Show selected node/port output in Preview2D        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`RMB` | :kbd:`Space`                             | Add node menu                                      |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`RMB`                                            | Toggle node preview for hovered port               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Alt-LMB`                                        | Lasso selection                                    |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`LMB`                                            | Box selection                                      |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl-RMB`                                       | Connection knife tool                              |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-RMB`                             | Insert aperture pair on connection line            |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Shift-RMB`                                      | Insert reroute on connection line                  |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`X` | :kbd:`Del` | :kbd:`Backspace`              | Delete selected nodes                              |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-D`                                     | Duplicate selected nodes                           |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-D`                               | Duplicate selected nodes with inuputs              |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`F2` | :kbd:`Enter` | :kbd:`LMB` Double-click    | Edit selected aperture node                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-G`                                     | Create group from selected nodes                   |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Alt-S`                                          | Swap inputs on selected node                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-F`                               | Frame selected node(s)                             |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`F`                                              | Color selected comment/aperture node(s)            |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`C`                                              | Centers view                                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`H`                                              | Minimize selected node(s)                          |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Left` | :kbd:`Right` | :kbd:`Up` | :kbd:`Down`  | Offsets view                                       |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-W`                                     | Make selected node(s) editable                     |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-A`                                     | Select all                                         |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-A`                               | Select none                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`LMB` Double-click                               | Enters subgraph/nodegroup, or exit/go up a level   |
|                                                       | in subgraph hierarchy when double-clicking in an   |
|                                                       | empty area.                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-L`                                     | Select source nodes from current selection         |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-L`                               | Select target nodes fom current selection          |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-[`                                     | Align node(s) horizontally (start)                 |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-\\`                                    | Align node(s) horizontally (center)                |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-]`                                     | Align node(s) horizontally (end)                   |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-I`                                     | Invert selection                                   |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-X`                                     | Cut selection                                      |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-C`                                     | Copy selection                                     |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-V`                                     | Paste selection                                    |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Z`                                     | Undo                                               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Shift-Z`                               | Redo                                               |
+-------------------------------------------------------+----------------------------------------------------+

Nodes
+++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Alt-LMB`                                        | Fine value adjustment                              |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`RMB`                                            | Open expression editor (float parameter)           |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Wheel`                                 | Adjust field value incrementally. On hovered menus |
|                                                       | with a pop-up list of options, this cycles between |
|                                                       | the menu items.                                    |
+-------------------------------------------------------+----------------------------------------------------+

Reference
+++++++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`MMB` | :kbd:`Shift-LMB`                         | Pan                                                |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Wheel`                                          | Zoom in/out                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-LMB`                                   | Zoom view                                          |
+-------------------------------------------------------+----------------------------------------------------+

Preview 2D
++++++++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`MMB` | :kbd:`Shift-LMB`                         | Pan                                                |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Wheel`                                          | Zoom in/out                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd`                                       | Snap gizmos to grid                                |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Shift`                                          | Snap gizmos to X/Y axis                            |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-R`                                     | Center view                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-LMB`                                   | Zoom view                                          |
+-------------------------------------------------------+----------------------------------------------------+

Preview 3D
++++++++++
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`MMB` | :kbd:`Alt-LMB`                           | Orbit                                              |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Wheel`                                          | Zoom in/out                                        |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Ctrl/Cmd-Wheel`                                 | Adjust field of view                               |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Shift-MMB`                                      | Offset view pivot                                  |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`Shift-RMB`                                      | Rotate environment                                 |
+-------------------------------------------------------+----------------------------------------------------+
| :kbd:`RMB`                                            | 3D preview options                                 |
+-------------------------------------------------------+----------------------------------------------------+
