Skip to main content
Use keyboard shortcuts to navigate and edit faster in the web editor. The editor supports common shortcuts like copy, paste, undo, and select all, along with the shortcuts listed below.

Editor-wide

These shortcuts work regardless of which mode you’re in.
CommandmacOSWindows
Search files and contentCmd + KCtrl + K
Toggle AI assistant (when not editing text)Cmd + ICtrl + I
Switch between visual and source modeCmd + Shift + MCtrl + Shift + M
Toggle diff viewCmd + Shift + DCtrl + Shift + D
Switch between Navigation and Files treeCmd + Shift + FCtrl + Shift + F
Hide/show sidebarCmd + \Ctrl + \

Visual mode

Use these shortcuts when editing in visual mode.

Text formatting

CommandmacOSWindows
BoldCmd + BCtrl + B
ItalicCmd + ICtrl + I
UnderlineCmd + UCtrl + U
StrikethroughCmd + Shift + SCtrl + Shift + S
CodeCmd + ECtrl + E
SubscriptCmd + ,Ctrl + ,
SuperscriptCmd + .Ctrl + .

Headings

CommandmacOSWindows
TextCmd + Option + 0Ctrl + Alt + 0
Heading 1Cmd + Option + 1Ctrl + Alt + 1
Heading 2Cmd + Option + 2Ctrl + Alt + 2
Heading 3Cmd + Option + 3Ctrl + Alt + 3
Heading 4Cmd + Option + 4Ctrl + Alt + 4

Lists and blocks

CommandmacOSWindows
Unordered listCmd + Shift + 8Ctrl + Shift + 8
BlockquoteCmd + Shift + BCtrl + Shift + B

Content actions

CommandmacOSWindows
Add link to selected textCmd + KCtrl + K
Add line breakCmd + EnterCtrl + Enter
Component menu//
Emoji picker: + keyword: + keyword

Smart substitutions

The editor automatically converts certain character sequences into typographic symbols as you type. The editor skips substitutions inside code blocks and inline code.
TypeResult
->
<-
=>
<=
>=
!=

Source mode

Source mode uses the Monaco editor, which supports standard VS Code keyboard shortcuts.

Search and navigation

CommandmacOSWindows
Search filesCmd + KCtrl + K
FindCmd + FCtrl + F

Editing

CommandmacOSWindows
Toggle commentCmd + /Ctrl + /
Indent lineTabTab
Outdent lineShift + TabShift + Tab
Move line upOption + Alt +
Move line downOption + Alt +
Duplicate lineShift + Option + Shift + Alt +

Multiple cursors

CommandmacOSWindows
Add cursorOption + ClickAlt + Click
Add cursor aboveCmd + Option + Ctrl + Alt +
Add cursor belowCmd + Option + Ctrl + Alt +