Visual Studio Code Visual Studio Code Keyboard Shortcuts for Mac Popular Shortcut Set

Keyboard shortcuts for Visual Studio Code on Mac. Navigate the editor, manage files, and use the integrated terminal on macOS.
Key label style

General

Show Command Palette
Cmd+Shift+P
or
F1
Quick Open, Go to File…
Cmd+P

Basic editing

Move line down/up
Opt+Down
or
Opt+Up
Copy line down/up
Opt+Shift+Down
or
Opt+Shift+Up
Delete line
Cmd+Shift+K
Toggle line comment
Cmd+/

Search and replace

Find
Cmd+F
Replace
Cmd+Opt+F
Add selection to next Find match
Cmd+D

Display

Toggle Sidebar visibility
Cmd+B

Integrated terminal

Show integrated terminal
Ctrl+`

Need more than shortcuts?
Visit the Visual Studio Code app page for an overview and helpful links.

Want to suggest a new app, report a bug, or get help? Email us at info@hkeys.app.

For anything else or just a quick hello, write to us at info@hkeys.app.