
VSCode shortcuts for Mac
121 shortcuts · 11 categories
VSCode is a lightweight yet powerful source code editor offering smart coding, debugging, and Git integration for efficient and flexible software development. Download VSCode
Hover a shortcut to add it to Pie Menu
Mac keyboard shortcuts for VSCode
Multi-cursor and selection
- Select current line⌘ (command) + l Add →
- Select all occurrences of current word⌘ (command) + f2 Add →
- Select all occurrences of current selection⇧ (shift) + ⌘ (command) + l Add →
- Insert cursor at end of each line selected⌥ (option) + ⇧ (shift) + i Add →
- Undo last cursor operation⌘ (command) + u Add →
- Insert Cursor Above⌥ (option) + ⌘ (command) + ↑ Add →
- Insert Cursor Below⌥ (option) + ⌘ (command) + ↓ Add →
Debug
Preferences
- Open Settings⌘ (command) + , Add →
Search Editor
Search and Replace
- Show Previous Search Term↑ Add →
- Show Next Search Term↓ Add →
- Focus Previous Search Result⇧ (shift) + f4 Add →
- Focus Next Search Resultf4 Add →
- Toggle Search Details⇧ (shift) + ⌘ (command) + j Add →
- Replace in Files⇧ (shift) + ⌘ (command) + h Add →
- Show Search⇧ (shift) + ⌘ (command) + f Add →
- Toggle Find Whole Word⌥ (option) + ⌘ (command) + w Add →
- Toggle Find Regex⌥ (option) + ⌘ (command) + r Add →
- Toggle Find Case Sensitive⌥ (option) + ⌘ (command) + c Add →
- Add Selection To Next Find Match⌘ (command) + d Add →
- Select All Occurrences of Find Match⌥ (option) + ↵ Add →
- Find Previous⇧ (shift) + ↵ Add →
- Find Next↵ Add →
- Replace⌥ (option) + ⌘ (command) + f Add →
- Find⌘ (command) + f Add →
Display
- Toggle Integrated Terminal⌃ (control) + ` Add →
- Toggle Markdown Preview⇧ (shift) + ⌘ (command) + v Add →
- Open New Command Prompt⇧ (shift) + ⌘ (command) + c Add →
- Quick Open View⌃ (control) + q Add →
- Show Output⇧ (shift) + ⌘ (command) + u Add →
- Show Extensions⇧ (shift) + ⌘ (command) + x Add →
- Show Run⇧ (shift) + ⌘ (command) + d Add →
- Show Source Control⌃ (control) + ⇧ (shift) + g Add →
- Show Search⇧ (shift) + ⌘ (command) + f Add →
- Show Explorer / Toggle Focus⇧ (shift) + ⌘ (command) + e Add →
- Toggle Sidebar Visibility⌘ (command) + b Add →
- Reset Zoom⌘ (command) + 0 Add →
- Zoom out⌘ (command) + - Add →
- Zoom in⌘ (command) + = Add →
- Toggle Full Screen⌃ (control) + ⌘ (command) + f Add →
File Management
Editor/Window Management
- Move Editor into Previous Group⌃ (control) + ⌘ (command) + ← Add →
- Move Editor into Next Group⌃ (control) + ⌘ (command) + → Add →
- Focus into Third Editor Group⌘ (command) + 3 Add →
- Focus into Second Editor Group⌘ (command) + 2 Add →
- Focus into First Editor Group⌘ (command) + 1 Add →
- Split Editor⌘ (command) + \ Add →
- Close Editor⌘ (command) + w Add →
- Close Window⌘ (command) + w Add →
- New Window⇧ (shift) + ⌘ (command) + n Add →
Rich Languages Editing
- Shrink AST Selection⌃ (control) + ⇧ (shift) + ⌘ (command) + ← Add →
- Expand AST Selection⌃ (control) + ⇧ (shift) + ⌘ (command) + → Add →
- Replace with Previous Value⇧ (shift) + ⌘ (command) + , Add →
- Replace with Next Value⇧ (shift) + ⌘ (command) + . Add →
- Rename Symbolf2 Add →
- Go to References⇧ (shift) + f12 Add →
- Quick Fix⌘ (command) + . Add →
- Peek Definition⌥ (option) + f12 Add →
- Go to Definitionf12 Add →
- Format Document⌥ (option) + ⇧ (shift) + f Add →
- Trigger Parameter Hints⇧ (shift) + ⌘ (command) + space Add →
- Trigger Suggest⌃ (control) + space Add →
Basic Editing
- Toggle Word Wrap⌥ (option) + z Add →
- Toggle Block Comment⌥ (option) + ⇧ (shift) + a Add →
- Toggle Line Comment⌘ (command) + / Add →
- Unfold (uncollapse) region⌥ (option) + ⌘ (command) + ] Add →
- Fold (collapse) region⌥ (option) + ⌘ (command) + [ Add →
- Scroll Page Up⌘ (command) + pageup Add →
- Scroll Page Down⌘ (command) + pagedown Add →
- Scroll Line Up⌃ (control) + pageup Add →
- Scroll Line Down⌃ (control) + pagedown Add →
- Go to Beginning of File⌘ (command) + ↑ Add →
- Go to End of File⌘ (command) + ↓ Add →
- Go to End of Lineend Add →
- Go to Beginning of Linehome Add →
- Outdent Line⌘ (command) + [ Add →
- Indent Line⌘ (command) + ] Add →
- Jump to matching bracket⇧ (shift) + ⌘ (command) + \ Add →
- Redo⇧ (shift) + ⌘ (command) + z Add →
- Undo⌘ (command) + z Add →
- Copy Line Up⌥ (option) + ⇧ (shift) + ↑ Add →
- Copy Line Down⌥ (option) + ⇧ (shift) + ↓ Add →
- Move Line Up⌥ (option) + ↑ Add →
- Move Line Down⌥ (option) + ↓ Add →
- Insert Line Above⇧ (shift) + ⌘ (command) + ↵ Add →
- Insert Line Below⌘ (command) + ↵ Add →
- Delete Line⇧ (shift) + ⌘ (command) + k Add →
- Paste⌘ (command) + v Add →
- Copy line (empty selection)⌘ (command) + c Add →
- Cut line (empty selection)⌘ (command) + x Add →
Download Keyboard Cheat Sheet for VSCode for Mac
Do you want all keyboard shortcuts for VSCode in one pdf?

Community shortcuts for VSCode
Be the first to share — open Pie Menu → VSCode → Share Config
View community page →
Get started with Pie Menu today.
The convenience of shortcuts without the memorization!