← Cheat Sheets
VS Code Editing Shortcuts (Extra)
More shortcuts to go with the essentials. Windows/Linux use Ctrl where macOS uses Cmd.
# VS Code Editing Shortcuts (Extra)
More shortcuts to go with the essentials. Windows/Linux use Ctrl where macOS uses Cmd.
| Action | macOS | Windows/Linux |
|---|---|---|
| Toggle sidebar | Cmd+B | Ctrl+B |
| Toggle terminal | Ctrl+` | Ctrl+` |
| Search in files | Cmd+Shift+F | Ctrl+Shift+F |
| Go to line | Ctrl+G | Ctrl+G |
| Go to symbol | Cmd+Shift+O | Ctrl+Shift+O |
| Delete line | Cmd+Shift+K | Ctrl+Shift+K |
| Insert line below | Cmd+Enter | Ctrl+Enter |
| Copy line down | Option+Shift+Down | Alt+Shift+Down |
| Split editor | Cmd+\ | Ctrl+\ |
| Add cursor above/below | Cmd+Option+Up/Down | Ctrl+Alt+Up/Down |
| Select all occurrences | Cmd+Shift+L | Ctrl+Shift+L |
| Go to definition | F12 | F12 |