Keyboard Shortcuts

VSCode

Shortcut

Description

VSCode Name

Custom shortcut?

⌘ + P

Go to file dialog

⌘ + ⇧ + P

Shortcut dialog

⌘ + ⇧ + /

Focus editor

View: Focus Next Editor Group

⌘ + ⇧ + T

Focus terminal

Terminal: Focus Terminal

⌘ + ⇧ + E

Focus file explorer

View: Show Explorer

⌘ + K , ↵

Keep editor page open

View: Keep Editor

⌘ + K , ⌘ + W

Close all open tabs

View: Close All Editors

⌘ + ⇧ + [

Next tab

View: Open Next Editor

⌘ + ⇧ + ]

Prev tab

View: Open Previous Editor

⌘ + ↓

Open editor from explorer

⌥ + ⌘ + C

Collapse explorer folders

File: Collapse Folders in Explorer

^ + -

Go back from definition

^ + =

Go to definition

^ + ⌥ + Z

Refresh git

Refresh git

Shortcuts reference

Mac, Chrome etc

Shortcut

Description

Custom shortcut?

⌥ + ⌘ + →

Chrome: Next tab

⌘ + W

Mac: Close current tab

⌘ + M

Mac: Minimize the current tab to dock

⌘ + ⇥ + ↓

Mac: Use the arrow keys to navigate and reopen closed tabs

^ + ⌘ + ↑

Mac: Expand window

✓ (Keyboard > Shortcuts > App Shortcuts > All Applications > 'Zoom')

Character Index

  • = Command

  • ^ = Control

  • = Enter

  • = Tab

  • = Option (/Alt)

  • = Up key

  • = Down key

  • = Left key

  • = Right key

Last updated