> ## Documentation Index
> Fetch the complete documentation index at: https://enterprise-docs.dify.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Hotkeys

> Keyboard shortcuts for building workflows faster in Dify

Speed up your workflow building with keyboard shortcuts.

## Selection and Editing

With one or more nodes selected on the canvas:

| Windows      | macOS       | Action                         |
| :----------- | :---------- | :----------------------------- |
| `Ctrl` + `C` | `Cmd` + `C` | Copy                           |
| `Ctrl` + `V` | `Cmd` + `V` | Paste                          |
| `Ctrl` + `D` | `Cmd` + `D` | Duplicate                      |
| `Delete`     | `Delete`    | Delete selected nodes or edges |

## Canvas Modes

| Windows | macOS | Action                |
| :------ | :---- | :-------------------- |
| `V`     | `V`   | Pointer mode (select) |
| `H`     | `H`   | Hand mode (pan)       |

## Zoom and Layout

| Windows       | macOS         | Action         |
| :------------ | :------------ | :------------- |
| `Ctrl` + `1`  | `Cmd` + `1`   | Zoom to fit    |
| `Ctrl` + `=`  | `Cmd` + `=`   | Zoom in        |
| `Ctrl` + `-`  | `Cmd` + `-`   | Zoom out       |
| `Shift` + `1` | `Shift` + `1` | Zoom to 100%   |
| `Shift` + `5` | `Shift` + `5` | Zoom to 50%    |
| `Ctrl` + `O`  | `Cmd` + `O`   | Organize nodes |

## History

| Windows                | macOS                 | Action |
| :--------------------- | :-------------------- | :----- |
| `Ctrl` + `Z`           | `Cmd` + `Z`           | Undo   |
| `Ctrl` + `Y`           | `Cmd` + `Y`           | Redo   |
| `Ctrl` + `Shift` + `Z` | `Cmd` + `Shift` + `Z` | Redo   |

## Testing

| Windows     | macOS          | Action |
| :---------- | :------------- | :----- |
| `Alt` + `R` | `Option` + `R` | Run    |
