# VS Code
## Keyboard Shortcuts
### Navigation
| macOS | Windows/Linux | Action |
|-------|---------------|--------|
| `F1` / `Cmd+Shift+P` | `F1` / `Ctrl+Shift+P` | Command palette |
| `Cmd+P` | `Ctrl+P` | Quick open file |
| `Cmd+P` then `>` | `Ctrl+P` then `>` | Command palette |
| `Cmd+P` then `#` | `Ctrl+P` then `#` | Go to symbol in workspace |
| `Ctrl+G` | `Ctrl+G` | Go to line number |
| `Cmd+Shift+O` | `Ctrl+Shift+O` | Go to symbol in current file ([source](https://code.visualstudio.com/docs/editor/editingevolved#_go-to-symbol)) |
| `Ctrl+PageUp/Down` | `Ctrl+PageUp/Down` | Switch between editor splits |
| `Cmd+1` | `Ctrl+1` | Focus first editor group |
| `Opt+1` | `Alt+1` | Focus first editor within group |
### Editing
| macOS | Windows/Linux | Action |
|-------|---------------|--------|
| `F2` | `F2` | Rename symbol |
| `F3` | `F3` | Find next |
| `Cmd+D` | `Ctrl+D` | Select next occurrence of current selection |
| `Cmd+Shift+K` | `Shift+Del` | Delete entire line (copies to clipboard) |
| `Ctrl+Shift+PageUp/Down` | `Ctrl+Shift+PageUp/Down` | Move editor tab within group |
| `Ctrl+Shift+Cmd+Right` | `Shift+Alt+Right` | Expand selection (smart select) |
| `Ctrl+Shift+Cmd+Left` | `Shift+Alt+Left` | Shrink selection |
| `Cmd+Shift+R` | `Ctrl+Shift+R` | Surround text with snippet |
### Terminal
| macOS | Windows/Linux | Action |
|-------|---------------|--------|
| `` Ctrl+` `` | `` Ctrl+` `` | Toggle terminal |
| `` Ctrl+Shift+` `` | `` Ctrl+Shift+` `` | New terminal |
## Screencast Mode
Toggle via **Developer: Toggle Screencast Mode** — highlights cursor position and keystrokes during presentations. ([source](https://code.visualstudio.com/updates/v1_31#_screencast-mode))
Settings:
- **Screencast Mode: Only Keyboard Shortcuts** — only show keyboard shortcuts
- **Screencast Mode: Vertical Offset** — controls overlay position