Keyboard Shortcuts
| Shortcut | Action |
|---|---|
Ctrl+P |
Quick open file |
Ctrl+Shift+P |
Command palette |
Ctrl+` |
Toggle integrated terminal |
Ctrl+B |
Toggle sidebar |
Ctrl+/ |
Toggle line comment |
Alt+Up / Alt+Down |
Move line up / down |
Shift+Alt+Down |
Duplicate line below |
Ctrl+D |
Select next occurrence of word |
Ctrl+Shift+L |
Select all occurrences |
Ctrl+F |
Find in file |
Ctrl+H |
Find and replace |
Ctrl+G |
Go to line number |
F12 |
Go to definition |
Alt+F12 |
Peek definition |
Ctrl+Shift+K |
Delete current line |
Ctrl+Enter |
Insert line below |
Ctrl+Shift+Enter |
Insert line above |
Ctrl+\ |
Split editor |
Ctrl+Z / Ctrl+Y |
Undo / Redo |
Ctrl+K Z |
Toggle Zen mode |