vscode.md
# VS Code
Shortcuts and intermediate moves. Keys are Windows/Linux; macOS in (parens).

## Command palette & go to
```text
Ctrl+Shift+P  (Cmd+Shift+P)   command palette, run anything
Ctrl+P        (Cmd+P)         quick-open a file by name
Ctrl+Shift+O  (Cmd+Shift+O)   go to symbol in file  (@)
Ctrl+T                        go to symbol in workspace
Ctrl+G                        go to line :42
```

## Editing
```text
Alt+Up / Alt+Down             move line up / down
Shift+Alt+Up / Down           copy line up / down
Ctrl+Shift+K                  delete line
Ctrl+Enter                    insert line below
Ctrl+/                        toggle line comment
Shift+Alt+A                   toggle block comment
Ctrl+] / Ctrl+[               indent / outdent
```

## Multi-cursor & selection
```text
Alt+Click                     add a cursor anywhere
Ctrl+Alt+Up / Down            add cursor above / below
Ctrl+D                        select next match of selection
Ctrl+Shift+L                  select ALL matches at once
Shift+Alt+drag                column (box) selection
```

## Navigation
```text
F12                           go to definition
Alt+F12                       peek definition inline
Shift+F12                     find all references
Ctrl+Tab                      switch between open editors
Ctrl+Shift+M                  problems panel
```

## Search & replace
```text
Ctrl+F / Ctrl+H               find / replace in file
Ctrl+Shift+F / H              find / replace across files
Alt+R   Alt+W   Alt+C         toggle regex / whole-word / case
$1 $2                         use capture groups in replace
```

## Refactor & IntelliSense
```text
F2                            rename symbol everywhere
Ctrl+.                        quick fix / code action
Ctrl+Space                    trigger suggestions
Shift+Alt+F                   format document
```

## Terminal & layout
```text
Ctrl+`                        toggle integrated terminal
Ctrl+B                        toggle sidebar
Ctrl+\                        split editor
Ctrl+K Z                      zen mode
```

## Handy settings.json
```json
{
  "editor.formatOnSave": true,
  "editor.rulers": [80, 100],
  "files.trimTrailingWhitespace": true,
  "editor.minimap.enabled": false
}
```

© 2026 anguishedturtle.com