Documentation Editor shortcuts
Editor shortcuts
The code editor is CodeMirror 6 with its standard keymap. Files also auto-save about 3 seconds after you stop typing.
Action
macOS
Windows / Linux
Save file
Cmd + S
Ctrl + S
Undo
Cmd + Z
Ctrl + Z
Redo
Cmd + Shift + Z
Ctrl + Y
Find / replace panel
Cmd + F
Ctrl + F
Find next / previous
Cmd + G / Cmd + Shift + G
Ctrl + G / Ctrl + Shift + G
Go to line
Cmd + Option + G
Ctrl + Alt + G
Select next occurrence
Cmd + D
Ctrl + D
Select all occurrences
Cmd + Shift + L
Ctrl + Shift + L
Toggle line comment
Cmd + /
Ctrl + /
Toggle block comment
Shift + Option + A
Shift + Alt + A
Indent / outdent
Tab / Shift + Tab
Tab / Shift + Tab
Move line up / down
Option + ↑/↓
Alt + ↑/↓
Copy line up / down
Shift + Option + ↑/↓
Shift + Alt + ↑/↓
Delete line
Cmd + Shift + K
Ctrl + Shift + K
Add cursor above / below
Cmd + Option + ↑/↓
Ctrl + Alt + ↑/↓
Select line
Ctrl + L
Alt + L
Trigger autocomplete
Ctrl + Space
Ctrl + Space
Select all
Cmd + A
Ctrl + A
App shortcuts
Action
macOS
Windows / Linux
Command palette
Cmd + K
Ctrl + K
New project
Cmd + N
Ctrl + N
New Claude Code tab
Cmd + T
Ctrl + T
Close tab
Cmd + W
Ctrl + W
Toggle sidebar
Cmd + B
Ctrl + B
Toggle focus mode
Cmd + .
Ctrl + .
Preview / Files panel
Cmd + 1 / Cmd + 2
Ctrl + 1 / Ctrl + 2
Note
The app shortcuts other than Cmd/Ctrl + K are ignored while the cursor is in a text field or in the editor. Some browsers reserve Cmd/Ctrl + N, T and W for themselves. Those shortcuts work when CloudCode is installed as an app.
Tip
In dark mode the editor uses the One Dark theme. Settings → Appearance sets the theme (Dark, Light, System), editor font size, tab size and font family. The editor toolbar also has a minimap, split view, Markdown preview, and version history.