# Keyboard shortcuts

> Every keyboard shortcut in Envy's editor: pages, tools, editing, selecting, the timeline, the color picker, view and file, and the keys that change a drag.

Source: https://envyui.com/docs/shortcuts

Every shortcut in the editor, grouped as in **Settings › Keyboard shortcuts**. Press **?** to open that list in Envy.

Shortcuts wait while you type in a field or while a menu, popover or dialog is open. Shortcuts that change layers work only on a page that shows the canvas.

## Pages and panels

| Keys | Action |
|---|---|
| Ctrl K | Command menu |
| G P | Projects |
| G D, G C, G S | Design, Components, Styles |
| G A, G E | Assets, Data & events |
| G F, G L, G H | Flows, Localization, Handoff |
| G , or Ctrl , | Settings |
| Ctrl F | Find layer |
| Ctrl H | Find and replace |
| [ and ] | Hide or show the sidebar, the inspector |
| Ctrl \\ | Hide or show both panels |
| Ctrl Alt \\, Ctrl Shift \\ | Hide or show the sidebar, the inspector (also) |
| F6, Shift F6 | Move focus between the rail, sidebar, header, canvas, inspector and the message at the bottom |

## Tools

| Key | Tool |
|---|---|
| V | Select |
| H, or hold Space | Hand |
| F | Frame |
| R, O, L | Rectangle, ellipse, line |
| Shift P, Shift S | Polygon, star |
| N | Pen (vector path) |
| T | Text |
| B | Button |
| I | Image |
| P | Progress bar |
| Shift I | Insert component |
| Alt T | Timeline |

## Edit

| Keys | Action |
|---|---|
| Ctrl Z | Undo |
| Ctrl Shift Z or Ctrl Y | Redo |
| Ctrl D, or drag with Alt | Duplicate |
| F2 or Ctrl R | Rename the layer |
| Ctrl C, Ctrl X, Ctrl V | Copy, cut, paste |
| Ctrl Alt C, Ctrl Alt V | Copy properties, paste properties |
| Del or Backspace | Delete |
| Ctrl G | Wrap in frame |
| Ctrl Shift G | Remove frame (keep children) |
| Shift A | On a frame, add auto layout (a column) or remove it. Other layers are wrapped in a new frame with a row |
| Arrows | Nudge 1 px, with Shift by the **Nudge** step in Settings (10 by default). In auto layout, move the layer one place earlier or later |
| Ctrl Arrows | Resize: Right and Down grow, Left and Up shrink (more with Shift). Several layers scale as one |
| Ctrl ], Ctrl [ | Bring forward, send backward |
| Ctrl Shift ], Ctrl Shift [ | Bring to front, send to back |
| Ctrl Shift H, Ctrl Shift L | Hide, lock |
| Alt A, Alt D | Align left, right |
| Alt W, Alt S | Align top, bottom |
| Alt H, Alt V | Align centers, horizontal or vertical |
| Alt Shift H, Alt Shift V | Distribute spacing, horizontal or vertical (3 or more layers) |
| Alt ↑, Alt ↓ | Move the focused screen up or down in the Screens list |

Some edits are pointer moves:

- Drag anywhere inside the box around several layers to move them all.
- Drag a layer outside its auto-layout frame to take it out.
- Hold **Ctrl** while you drag to drop a layer into another frame or out of its own, keeping its place. **Move into frame…** and **Move out of frame** do the same from the right-click menu and the command menu.
- Drag from a little outside a corner of the selection to rotate it. 90° turns are in the right-click menu.

See [Selecting](/docs/editor#selecting), [Rotating](/docs/editor#rotating) and [Moving between frames](/docs/editor#moving-between-frames).

## Components

| Keys | Action |
|---|---|
| Ctrl Alt K | Create component |
| Ctrl Alt B | Detach instance |
| Double-click | Edit a layer inside an instance |

## Select

| Keys | Action |
|---|---|
| Enter | Select the children. On a text layer, edit its text |
| Shift Enter or Esc | Select the parent |
| Ctrl click | Select the deepest layer |
| Shift click | Add a layer to the selection, or take it out |
| Ctrl drag from empty space | Box-select layers inside frames |
| Ctrl A | Select all siblings |

With a drawing tool on, **Esc** goes back to the Select tool first.

## Timeline

| Keys | Action |
|---|---|
| Space | Play or pause, with the pointer or focus in the timeline |
| Shift click, Ctrl click | Add a key to the selection, or take it out |
| Drag from empty space in the lanes | Box-select keys (Shift adds) |
| Shift Enter | Add the focused key to the selection |
| Ctrl A | Select all keys, with focus in the timeline |
| ←, → | Move the selected keys a frame (0.1 s with Shift) |
| ↑, ↓ | Go to the nearest key on the track above or below |
| Ctrl C, Ctrl X, Ctrl V | Copy, cut, paste keys. Paste lands at the playhead |
| Del | Delete the selected keys |
| Esc | Let go of the selected keys, or cancel a drag |

See [Animation](/docs/animation).

## While you drag

| Hold | Effect |
|---|---|
| Alt | With a layer selected, measure distances to the layer under the pointer |
| Shift | Lock to one axis (moving), keep proportions (resizing), turn in 15° steps (rotating), draw a square |
| Alt | Resize from the center |
| Ctrl | Move or resize without snapping |
| Ctrl | Moving: drop into the frame under the pointer. In auto layout, a bar shows where the layer goes |
| Esc | Cancel the drag |

## Pen and path points

| Keys | Action |
|---|---|
| Enter or Esc | Finish the path |
| Backspace or Del | Remove the last point. With no point left, stop drawing |

To edit the points of a path, select it and double-click it, or choose **Edit points** in the inspector. Then **Del** removes the selected point, and **Enter** or **Esc** stops editing.

## Color picker

| Keys | Action |
|---|---|
| I | Pick a color from the screen (Windows) |
| Arrows | Move the square or a slider (more with Shift) |
| ←, → | Move along a row of swatches |
| Esc | Cancel the eyedropper or a drag, otherwise close the picker |

## View and file

| Keys | Action |
|---|---|
| Shift 1 | Show all boards |
| Shift 2 | Zoom to the selection |
| Shift F | Focus on the open screen: only it is drawn |
| Ctrl 0, Ctrl +, Ctrl - | Zoom to 100%, in, out |
| Shift R | Rulers |
| Ctrl ;, Ctrl ' | Guides, layout grids |
| Ctrl Enter | Preview. Esc closes it |
| Ctrl E | Handoff page (exports) |
| Ctrl S | Save to a file |
| Ctrl Shift S | Save as |
| Ctrl O | Open a file |
| ? | The shortcut list in Settings |

The mouse wheel pans the canvas, and Shift with the wheel pans sideways. Ctrl with the wheel zooms. **Settings › Scroll wheel** can make the wheel zoom instead. Dragging with the middle button pans with any tool.
