Keyboard Shortcuts5 min read

Essential VS Code Keyboard Shortcuts for macOS

Level up your macOS development workflow with the VS Code shortcuts that keep you moving without touching the mouse.

Visual Studio Code rewards muscle memory. These macOS shortcuts cover the core motions every developer should know.

Command center essentials

ActionShortcut
Command Palette⌘ + ⇧ + P
Quick Open file⌘ + P
Go to Line⌃ + G
Go to Symbol in Workspace⌘ + T
Toggle Zen Mode⌘ + K Z

Navigation

ActionShortcut
Jump to Symbol in file⌘ + ⇧ + O
Open DefinitionF12
Peek Definition⌥ + F12
Toggle Sidebar⌘ + B
Toggle Terminal⌃ + `
Go Back⌃ + -
Go Forward⌃ + ⇧ + -

Find and replace

ActionShortcut
Find⌘ + F
Replace⌘ + H
Find in Files⌘ + ⇧ + F
Replace in Files⌘ + ⇧ + H
Find Next⌘ + G
Find Previous⌘ + ⇧ + G

Editing

ActionShortcut
Add next occurrence to selection⌘ + D
Move line up/down⌥ + ↑ / ⌥ + ↓
Copy line up/down⌥ + ⇧ + ↑ / ⌥ + ⇧ + ↓
Create additional cursor⌥ + Click
Toggle line comments⌘ + /
Toggle block comments⌥ + ⌘ + A
Delete line⌘ + ⇧ + K
Select all occurrences⌘ + ⇧ + L

Code intelligence

ActionShortcut
Trigger Suggestions⌃ + Space
Rename SymbolF2
Format Document⇧ + ⌥ + F
Format Selection⌘ + K ⌘ + F
Quick Fix⌘ + .
Show Hover⌘ + K ⌘ + I

Multi-pane and tabs

ActionShortcut
Split editor⌘ + \
Focus editor group⌘ + 1, ⌘ + 2, ⌘ + 3
Move file to next group⌘ + ⌥ + → / ⌘ + ⌥ + ←
New File⌘ + N
Close Editor⌘ + W
Reopen Closed Editor⌘ + ⇧ + T
Cycle Through Tabs⌃ + Tab

Terminal

ActionShortcut
Toggle Terminal⌃ + `
Split Terminal⌘ + ⇧ + 5
Run Build Task⌘ + ⇧ + B

Customize shortcuts

Open Code → Settings → Keyboard Shortcuts (⌘ + K, ⌘ + S) to view and customize all bindings.

Show your shortcuts on screen

Creating tutorials or presenting live? KeyScreen displays your keystrokes beautifully on screen so viewers always know what you pressed.

Discover more posts

Apple Keynote Keyboard Shortcuts: The Complete Guide for Mac
January 21, 20268 min read
Keyboard Shortcuts

Apple Keynote Keyboard Shortcuts: The Complete Guide for MacApple Keynote Keyboard Shortcuts: The Complete Guide for Mac

Master Apple Keynote on macOS with a complete keyboard shortcuts guide for creating slides, editing objects, formatting text, and presenting with confidence.

Pixelmator Pro Keyboard Shortcuts: The Complete Guide for Mac
January 17, 20267 min read
Keyboard Shortcuts

Pixelmator Pro Keyboard Shortcuts: The Complete Guide for MacPixelmator Pro Keyboard Shortcuts: The Complete Guide for Mac

Master Pixelmator Pro with this comprehensive keyboard shortcuts guide for Mac. From essential tools to editing and export, become a Pixelmator Pro power user.

Apple Numbers Keyboard Shortcuts: The Complete Guide for Mac
January 19, 20268 min read
Keyboard Shortcuts

Apple Numbers Keyboard Shortcuts: The Complete Guide for MacApple Numbers Keyboard Shortcuts: The Complete Guide for Mac

Learn Apple Numbers faster with this complete Mac shortcut guide. Jump between sheets, edit tables, format data, and work with objects without leaving the keyboard.

Simple no-tricks pricing
Pay once, use forever

You can download the app from the Mac App Store today.