General
| Action | Mac | Windows/Linux |
|---|---|---|
| Search/Command palette | ⌘ K | Ctrl K |
| Settings | ⌘ , | Ctrl , |
| Help | ⌘ ? | Ctrl ? |
Chat
| Action | Mac | Windows/Linux |
|---|---|---|
| Focus chat input | ⌘ L | Ctrl L |
| Send message | Enter | Enter |
| New line in message | Shift Enter | Shift Enter |
| Stop generation | Escape | Escape |
Editor
| Action | Mac | Windows/Linux |
|---|---|---|
| Save file | ⌘ S | Ctrl S |
| Undo | ⌘ Z | Ctrl Z |
| Redo | ⌘ Shift Z | Ctrl Shift Z |
| Find | ⌘ F | Ctrl F |
| Find and replace | ⌘ H | Ctrl H |
| Go to line | ⌘ G | Ctrl G |
| Toggle comment | ⌘ / | Ctrl / |
| Duplicate line | ⌘ Shift D | Ctrl Shift D |
| Move line up | Option ↑ | Alt ↑ |
| Move line down | Option ↓ | Alt ↓ |
| Select word | ⌘ D | Ctrl D |
| Select all occurrences | ⌘ Shift L | Ctrl Shift L |
File Navigation
| Action | Mac | Windows/Linux |
|---|---|---|
| Open file | ⌘ P | Ctrl P |
| Close file | ⌘ W | Ctrl W |
| Switch file | ⌘ Tab | Ctrl Tab |
| Toggle sidebar | ⌘ B | Ctrl B |
Preview
| Action | Mac | Windows/Linux |
|---|---|---|
| Refresh preview | ⌘ R | Ctrl R |
| Hard refresh | ⌘ Shift R | Ctrl Shift R |
| Toggle device mode | ⌘ D | Ctrl D |
Version History
| Action | Mac | Windows/Linux |
|---|---|---|
| Open history | ⌘ Shift H | Ctrl Shift H |
| Undo last change | ⌘ Z | Ctrl Z |
Publishing
| Action | Mac | Windows/Linux |
|---|---|---|
| Publish | ⌘ Shift P | Ctrl Shift P |
Selection
| Action | Mac | Windows/Linux |
|---|---|---|
| Select all | ⌘ A | Ctrl A |
| Copy | ⌘ C | Ctrl C |
| Cut | ⌘ X | Ctrl X |
| Paste | ⌘ V | Ctrl V |
Text Editing
| Action | Mac | Windows/Linux |
|---|---|---|
| Delete word | Option Backspace | Ctrl Backspace |
| Delete line | ⌘ Shift K | Ctrl 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
| Action | Mac | Windows/Linux |
|---|---|---|
| Add cursor above | ⌘ Option ↑ | Ctrl Alt ↑ |
| Add cursor below | ⌘ Option ↓ | Ctrl Alt ↓ |
| Add cursor at click | Option Click | Alt Click |
Code Folding
| Action | Mac | Windows/Linux |
|---|---|---|
| Fold | ⌘ Option [ | Ctrl Shift [ |
| Unfold | ⌘ Option ] | Ctrl Shift ] |
| Fold all | ⌘ K ⌘ 0 | Ctrl K Ctrl 0 |
| Unfold all | ⌘ K ⌘ J | Ctrl K Ctrl J |
Tips
Learn gradually
Learn gradually
Don’t try to memorize all shortcuts at once. Pick 2-3 that would help your workflow and focus on those.
Most useful shortcuts
Most useful shortcuts
Start with these:
⌘ K- Command palette⌘ P- Open file⌘ /- Toggle comment⌘ D- Select word/next occurrence
Preview keyboard
Preview keyboard
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

