vscode.md

VS Code #

Shortcuts and intermediate moves. Keys are Windows/Linux; macOS in (parens).

Command palette & go to #

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 #

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 #

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
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 #

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 #

F2                            rename symbol everywhere
Ctrl+.                        quick fix / code action
Ctrl+Space                    trigger suggestions
Shift+Alt+F                   format document

Terminal & layout #

Ctrl+`                        toggle integrated terminal
Ctrl+B                        toggle sidebar
Ctrl+\                        split editor
Ctrl+K Z                      zen mode

Folding & navigation #

Ctrl+Shift+[ / ]              fold / unfold region
Ctrl+K Ctrl+0 / Ctrl+K Ctrl+J fold all / unfold all
Alt+Left / Alt+Right          navigate back / forward
Ctrl+Shift+\                  jump to matching bracket
Ctrl+Shift+.                  focus breadcrumbs to navigate

Snippets, Emmet & Git #

div.card>ul>li*3  + Tab       Emmet expands HTML/CSS abbreviations
Ctrl+K Ctrl+S                 open the keyboard-shortcuts editor
Ctrl+Shift+G                  source control view
Ctrl+Enter                   commit staged changes (in the SCM box)
F8 / Shift+F8                 next / previous problem

Handy settings.json #

{
  "editor.formatOnSave": true,
  "editor.rulers": [80, 100],
  "files.trimTrailingWhitespace": true,
  "editor.minimap.enabled": false
}

© 2026 anguishedturtle.comBit Night RunnerSupportPrivacy