VS code shortcuts

Control ⌃ + ` – Toggle terminal

⌘ + B – Toggle sidebar

Shift ⇧ + ⌘ + E – Focus on sidebar and back

Option ⌥ + ⌘ + ←/→ – Switch between tabs

Control ⌃ + Tab – Switch between tabs in a separate pop up

Code editing

Go To Start & End Of Line

⌘ + ←

⌘ + →

Move By Word

Option ⌥ + →

Option ⌥ + ←

Go To Start & End Of File

⌘ + ↑

⌘ + ↓

Move line up or down

Option ⌥ + ↑

Option ⌥ + ↓

⌘ + D – Add selection to next Find match

⌘ + U – Deselect match

Option ⌥ + Click – Add a cursor

⌘ + L – Select current line

⌘ + / – Toggle line comment

Shift ⇧ + ⌘ + L – Select all occurrences of current selection

Advanced stuff

Option ⌥ + ⌘ + ↑ – Insert cursor above

Option ⌥ + ⌘ + ↓ – Insert cursor below

(whole construction can be moved with arrows and Esc to diselect)

⌘ + Enter / Shift ⇧ + ⌘ + Enter – Insert line below or above

⌘ + ] / ⌘ + [ – Indent/Outdent line

Shift ⇧ + Option ⌥ + Select with mouse – Multiline selection

All MacOS VS Code shortcuts