# Keyboard shortcuts

> Every keyboard shortcut and mouse control of the rack editor and the floor plan.

URL: https://docs.racktrace.io/concepts/shortcuts

The rack editor and the floor plan have keyboard shortcuts for the things you do most. On a Mac, use `⌘` instead of `Ctrl`.

## At a glance

| Key | Rack editor | Floor plan |
|---|---|---|
| `Ctrl`+`Z` | Undo | Undo |
| `Ctrl`+`Y` | Redo | Redo |
| `+` / `−` | Zoom | Zoom |
| `R` | Front / back | Room tool, or turn the selected rack |
| `←` / `→` | Previous / next rack of the room | — |
| `V` / `P` / `M` | — | Select / Shape / Scale tool |
| `F` | — | Show the whole floor |
| `Delete` | Delete the selected device | Take the selected item off the plan |
| `Esc` | Cancel, or clear the selection | Cancel the tool, or clear the selection |
| `/` or `Ctrl`+`K` | In these docs: search |

## Rack editor

| Key or mouse | Action |
|---|---|
| `Ctrl`+`Z` | Undo |
| `Ctrl`+`Y` or `Ctrl`+`Shift`+`Z` | Redo |
| `R` | Switch front / back |
| `+` / `−` | Zoom in / out |
| `Ctrl` + scroll wheel | Zoom around the pointer (pinch on a touchpad) |
| Right or middle mouse button + drag | Move around the racks; let go while moving and it glides on |
| Right mouse button + drag past the left or right edge | Open the previous or next rack of the room (let go when the tab says *Release to open*) |
| `←` / `→` | Previous / next rack of the room (in the row view: move the row to it) |
| `Delete` | Delete the selected device |
| `Esc` | Cancel connecting or placing, or clear the selection |

On a Mac, use `⌘` instead of `Ctrl`. Shortcuts don't work while a dialog is open or while you are typing in a field.

## Floor plan

| Key or mouse | Action |
|---|---|
| `V` / `R` / `P` / `M` | Select / Room / Shape / Scale tool (`R` turns a selected rack instead) |
| `D` | Find the rooms in the drawing |
| `Ctrl`+`Z`, `Ctrl`+`Y` | Undo, redo (everything on the plan except uploading or removing the drawing) |
| Scroll wheel | Zoom (`Ctrl` + scroll zooms faster) |
| `+` / `−` | Zoom in / out |
| `F` | Show the whole floor |
| Drag the background, or right mouse button + drag | Move the plan |
| `Delete` | Take the selected device or rack off the plan |
| `Esc` | Cancel the tool, stop editing a shape, or clear the selection |

Users who may only look can open the plan, select items, use the toggles and print. On a phone the plan is shown above the details of what you tap; tap an item in the list and then tap the plan to place it.
