# Keyboard shortcuts

The *main clip* is the selected clip that was clicked without <kbd>Shift</kbd>.

![The in-app Keyboard shortcuts sheet scrolled to its Studio group, from Space to Alt and drag](https://github.com/HamSanders/soundbox/blob/main/site/public/docs/studio/shortcuts.webp)

| Action | Windows and Linux | macOS | Where |
| --- | --- | --- | --- |
| Show the shortcut sheet | <kbd>?</kbd> | <kbd>?</kbd> | Anywhere outside a text box |
| Open the command palette for panels | <kbd>Ctrl</kbd>+<kbd>K</kbd> | <kbd>Command</kbd>+<kbd>K</kbd> | Studio |
| Show or hide the **Chat** panel | <kbd>Ctrl</kbd>+<kbd>T</kbd> | <kbd>Command</kbd>+<kbd>T</kbd> | Studio, with the prompt assistant on |
| Show or hide the **Script** panel | <kbd>Ctrl</kbd>+<kbd>R</kbd> | <kbd>Command</kbd>+<kbd>R</kbd> | Script Builder |
| Show or hide the **Prompt** panel | <kbd>Ctrl</kbd>+<kbd>P</kbd> | <kbd>Command</kbd>+<kbd>P</kbd> | Studio |
| Show or hide the **Library** panel | <kbd>Ctrl</kbd>+<kbd>B</kbd> | <kbd>Command</kbd>+<kbd>B</kbd> | Studio |
| Show or hide the **History** panel | <kbd>Ctrl</kbd>+<kbd>I</kbd> | <kbd>Command</kbd>+<kbd>I</kbd> | Studio |
| Show or hide the **Sample** panel | <kbd>Ctrl</kbd>+<kbd>E</kbd> | <kbd>Command</kbd>+<kbd>E</kbd> | Studio |
| Show or hide the **Devices** panel | <kbd>Ctrl</kbd>+<kbd>F</kbd> | <kbd>Command</kbd>+<kbd>F</kbd> | Studio |
| Show or hide the **MIDI** panel | <kbd>Ctrl</kbd>+<kbd>N</kbd> | <kbd>Command</kbd>+<kbd>N</kbd> | Studio |
| Show or hide the **Piano roll** | <kbd>Ctrl</kbd>+<kbd>O</kbd> | <kbd>Command</kbd>+<kbd>O</kbd> | Studio |
| Show or hide the **Logs** panel | <kbd>Ctrl</kbd>+<kbd>G</kbd> | <kbd>Command</kbd>+<kbd>G</kbd> | Studio |
| Show or hide the **Timeline** | <kbd>Ctrl</kbd>+<kbd>L</kbd> | <kbd>Command</kbd>+<kbd>L</kbd> | Studio |
| Play or stop | <kbd>Space</kbd> | <kbd>Space</kbd> | Timeline |
| Undo | <kbd>Ctrl</kbd>+<kbd>Z</kbd> | <kbd>Command</kbd>+<kbd>Z</kbd> | Timeline |
| Redo | <kbd>Ctrl</kbd>+<kbd>Y</kbd> or <kbd>Ctrl</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd> | <kbd>Command</kbd>+<kbd>Y</kbd> or <kbd>Command</kbd>+<kbd>Shift</kbd>+<kbd>Z</kbd> | Timeline |
| Select every clip | <kbd>Ctrl</kbd>+<kbd>A</kbd> | <kbd>Command</kbd>+<kbd>A</kbd> | Timeline |
| Clear the selection, or disarm the scissors | <kbd>Esc</kbd> | <kbd>Esc</kbd> | Timeline, after clicking in it |
| Copy the main clip | <kbd>Ctrl</kbd>+<kbd>C</kbd> | <kbd>Command</kbd>+<kbd>C</kbd> | Timeline |
| Copy the main clip and delete the selection | <kbd>Ctrl</kbd>+<kbd>X</kbd> | <kbd>Command</kbd>+<kbd>X</kbd> | Timeline |
| Paste at the playhead, on the copied clip's lane | <kbd>Ctrl</kbd>+<kbd>V</kbd> | <kbd>Command</kbd>+<kbd>V</kbd> | Timeline |
| Duplicate the selection | <kbd>Ctrl</kbd>+<kbd>D</kbd> | <kbd>Command</kbd>+<kbd>D</kbd> | Timeline |
| Delete the selection | <kbd>Delete</kbd> or <kbd>Backspace</kbd> | <kbd>Delete</kbd> | Timeline |
| Mute or unmute the main clip | <kbd>M</kbd> | <kbd>M</kbd> | Timeline |
| Split the main clip at the playhead | <kbd>S</kbd> | <kbd>S</kbd> | Timeline, playhead inside the clip |
| Add a clip to the selection, or remove it | <kbd>Shift</kbd>+click | <kbd>Shift</kbd>+click | Timeline |
| Mark a loop or repaint region | <kbd>Shift</kbd>+drag on the ruler | <kbd>Shift</kbd>+drag on the ruler | Timeline |
| Turn snapping off while dragging | Hold <kbd>Alt</kbd> | Hold <kbd>Option</kbd> | Timeline, piano roll, canvas |
| Zoom around the pointer | <kbd>Ctrl</kbd>+scroll, or pinch | <kbd>Control</kbd>+scroll, or pinch | Timeline |
| Scroll through time | <kbd>Shift</kbd>+scroll | <kbd>Shift</kbd>+scroll | Timeline |
| Finer steps while dragging a dial | Hold <kbd>Shift</kbd> | Hold <kbd>Shift</kbd> | Device rack |
| Step a dial | Arrow keys; <kbd>Shift</kbd> for ten steps; <kbd>Home</kbd>, <kbd>End</kbd> | The same | Device rack |
| Move the selected note a semitone or one grid step | Arrow keys | Arrow keys | Piano roll |
| Move the selected note an octave or four grid steps | <kbd>Shift</kbd>+arrow keys | <kbd>Shift</kbd>+arrow keys | Piano roll |
| Delete the selected note | <kbd>Delete</kbd> or <kbd>Backspace</kbd> | <kbd>Delete</kbd> | Piano roll |
| Play the on-screen keyboard | <kbd>A</kbd> to <kbd>;</kbd> and <kbd>W</kbd> to <kbd>P</kbd> | The same | MIDI panel, after clicking the keyboard |
| Move a card one grid step | Arrow keys on its header | Arrow keys on its header | Canvas layout |
| Resize a card one grid step | <kbd>Shift</kbd>+arrow keys on its header | <kbd>Shift</kbd>+arrow keys on its header | Canvas layout |
| Send a message | <kbd>Enter</kbd> | <kbd>Return</kbd> | Chat panel |
| Start a new line in a message | <kbd>Shift</kbd>+<kbd>Enter</kbd> | <kbd>Shift</kbd>+<kbd>Return</kbd> | Chat panel |

The studio's shortcuts are inactive while a text box has focus, so <kbd>Ctrl</kbd>+<kbd>Z</kbd> in the script
undoes typing.
