Visual Studio Code Shortcuts
General
Shortcut Action
⌘⇧P Command palette
⌘P Quick open file
⌘, Settings
⌘⇧N New window
⌘W Close editor
⌘⇧W Close window
⌘` Toggle terminal
⌘B Toggle sidebar
⌘J Toggle panel
Code Editing
Shortcut Action
⌘D Select next occurrence
⌘⇧L Select all occurrences
⌘L Select line
⌥↑ Move line up
⌥↓ Move line down
⌥⇧↑ Copy line up
⌥⇧↓ Copy line down
⌘⇧K Delete line
⌘/ Toggle line comment
⌘⇧A Toggle block comment
⌘⇧[ Fold region
⌘⇧] Unfold region
⌘⌥F Find and replace
⌘⇧H Replace across files
Integrated Terminal
Shortcut Action
⌘` Toggle terminal
⌃⇧` New terminal
⌘\ Split terminal
⌘↑ Scroll up
⌘↓ Scroll down