Skip to main content
Speed up your workflow with these keyboard shortcuts.

General

ActionMacWindows/Linux
Search/Command palette⌘ KCtrl K
Settings⌘ ,Ctrl ,
Help⌘ ?Ctrl ?

Chat

ActionMacWindows/Linux
Focus chat input⌘ LCtrl L
Send messageEnterEnter
New line in messageShift EnterShift Enter
Stop generationEscapeEscape

Editor

ActionMacWindows/Linux
Save file⌘ SCtrl S
Undo⌘ ZCtrl Z
Redo⌘ Shift ZCtrl Shift Z
Find⌘ FCtrl F
Find and replace⌘ HCtrl H
Go to line⌘ GCtrl G
Toggle comment⌘ /Ctrl /
Duplicate line⌘ Shift DCtrl Shift D
Move line upOption ↑Alt ↑
Move line downOption ↓Alt ↓
Select word⌘ DCtrl D
Select all occurrences⌘ Shift LCtrl Shift L

File Navigation

ActionMacWindows/Linux
Open file⌘ PCtrl P
Close file⌘ WCtrl W
Switch file⌘ TabCtrl Tab
Toggle sidebar⌘ BCtrl B

Preview

ActionMacWindows/Linux
Refresh preview⌘ RCtrl R
Hard refresh⌘ Shift RCtrl Shift R
Toggle device mode⌘ DCtrl D

Version History

ActionMacWindows/Linux
Open history⌘ Shift HCtrl Shift H
Undo last change⌘ ZCtrl Z

Publishing

ActionMacWindows/Linux
Publish⌘ Shift PCtrl Shift P

Selection

ActionMacWindows/Linux
Select all⌘ ACtrl A
Copy⌘ CCtrl C
Cut⌘ XCtrl X
Paste⌘ VCtrl V

Text Editing

ActionMacWindows/Linux
Delete wordOption BackspaceCtrl Backspace
Delete line⌘ Shift KCtrl Shift K
Go to start of line⌘ ←Home
Go to end of line⌘ →End
Go to start of file⌘ ↑Ctrl Home
Go to end of file⌘ ↓Ctrl End

Multi-Cursor

ActionMacWindows/Linux
Add cursor above⌘ Option ↑Ctrl Alt ↑
Add cursor below⌘ Option ↓Ctrl Alt ↓
Add cursor at clickOption ClickAlt Click

Code Folding

ActionMacWindows/Linux
Fold⌘ Option [Ctrl Shift [
Unfold⌘ Option ]Ctrl Shift ]
Fold all⌘ K ⌘ 0Ctrl K Ctrl 0
Unfold all⌘ K ⌘ JCtrl K Ctrl J

Tips

Don’t try to memorize all shortcuts at once. Pick 2-3 that would help your workflow and focus on those.
Start with these:
  • ⌘ K - Command palette
  • ⌘ P - Open file
  • ⌘ / - Toggle comment
  • ⌘ D - Select word/next occurrence
When typing in the preview (forms), editor shortcuts are disabled to avoid conflicts.

Customization

Currently, keyboard shortcuts cannot be customized. We’re considering this for a future update.

Code Editor

Learn more about the editor