# Save time with keyboard shortcuts

[BetaThis feature is new and we're actively working on it.](/beta-experimental-features/#beta-features)

There are a number of keyboard shortcuts you can use to access Design Studio functionality. You can see a full list of shortcuts at any time by clicking the Shortcuts button in the bottom right corner of the code editor. Any shortcut that uses CMD on Mac will use CTRL on Windows (and vice versa).

## General[](#general)

Name

Shortcut

Toggle Preferences

CMD/CTRL ,

Toggle Sidebar

CMD/CTRL SHIFT B

## Editors[](#editors)

### Editor management[](#editor-management)

Name

Shortcut

Close current editor

OPTION W

### Formatting[](#formatting)

Name

Shortcut

Wrap Bold

CMD/CTRL B

Wrap Italics

CMD/CTRL I

Wrap Underline

CMD/CTRL U

### Basic editing[](#basic-editing)

Name

Shortcut

Cut line

CMD/CTRL X

Copy line

CMD/CTRL C

Paste line

CMD/CTRL V

Move line up

OPTION ↑

Move line down

OPTION ↓

### Basic editing - Code editor only[](#basic-editing---code-editor-only)

Name

Shortcut

Copy line up

SHIFT OPTION ↑

Copy line down

SHIFT OPTION ↓

Delete line

CMD/CTRL SHIFT K

Indent line

CMD/CTRL \]

Outdent line

CMD/CTRL \[

Toggle line comment

CMD/CTRL /

Fold current region

CMD/CTRL K     CMD/CTRL \[

Unfold current region

CMD/CTRL K     CMD/CTRL \]

### Preview - Code editor only[](#preview---code-editor-only)

Name

Shortcut

Toggle Preview

CMD/CTRL SHIFT D

Toggle Inspect Element

CMD/CTRL SHIFT C

Toggle Focus Mode

CMD/CTRL SHIFT M

### Find & replace - Code editor only[](#find--replace---code-editor-only)

Name

Shortcut

Find

CMD/CTRL F

Replace

CMD/CTRL OPTION F

Find Next

CMD/CTRL G

Find Previous

CMD/CTRL SHIFT G

Select all matches

OPTION Enter

### Multi-cursor & selection - Code editor only[](#multi-cursor--selection---code-editor-only)

Name

Shortcut

Insert cursor

OPTION **\+ Click**

Insert cursor above

CMD/CTRL OPTION ↑

Insert cursor below

CMD/CTRL OPTION ↓

Select current line

CMD/CTRL L