General
?? P, F1 Show Command Palette
? P Quick Open, Go to File ...
?? N New window/instance
? W Close window/instance
?, User Settings
? K? S Keyboard Shortcuts
Basic editing
? X Cut Line (empty selection)
? C Copy Line (empty selection)
↓/? ↑move Line Down/up
?? ↓/?? ↑copy Line Down/up
?? K Delete Line
? Enter/?? Enter Insert Line Below/above
??? Jump to matching Bracket
?] / ? [Indent/outdent Line
Home/end Go to Beginning/end of line
↑/? ↓go to Beginning/end of file
? PgUp/? PgDn Scroll Line Up/down
? PgUp/? PgDn Scroll Page Up/down
?? [ / ??] Fold/unfold Region
? K? [ / ? K?] Fold/unfold all subregions
? K? 0/? K? J Fold/unfold All regions
? K? C Add Line Comment
? K? U Remove Line Comment
?/Toggle Line Comment
?? A Toggle block Comment
? Z Toggle Word Wrap
Multi-cursor and Selection
? + Click Insert cursor
?? ↑insert cursor above
?? ↓insert cursor Below
? U Undo Last cursor operation
?? I Insert cursor at end of each line selected
? I Select Current Line
?? L Select all occurrences of the current selection
? F2 Select all occurrences of the current word
??? →/←expand/shrink selection
?? + Drag mouse Column (box) selection
??? ↑/↓column (box) selection Up/down
??? ←/→column (box) selection Left/right
??? PgUp Column (box) selection page Up
??? PgDn Column (box) selection PAGE Down
Search and replace
? F Find
?? F Replace
? G/?? G Find next/previous
? Enter Select all occurrences of Find match
? D ADD selection to next Find match
? K? D Move last selection to next Find match
Rich languages Editing
? Space Trigger Suggestion
?? Space Trigger parameter hints
?? F Format Document
? K? F Format Selection
F12 Go to Definition
? F12 Peek Definition
? K F12 Open Definition to the side
?. Quick Fix
? F12 Show References
F2 Rename Symbol
? K? X Trim trailing whitespace
? K M Change File language
Navigation
? T Show All Symbols
? G Go To line ...
? P Go to File ...
?? O Go to Symbol ...
?? M Show Problems Panel
F8/? F8 Go to next/previous error or warning
?? Tab Navigate Editor Group history
?- / ?? -Go Back/forward
?? M Toggle Tab moves focus
Editor Management
? W Close Editor
? K F Close Folder
?? Split Editor
? 1/? 2/? 3 Focus into 1
St, 2nd, 3rd Editor Group
? K. ←/? K. →focus into Previous/next Editor Group
? K?? ←/? K?? →move Editor Left/right
? K←/? K→move Active editor Group
File Management
? N New File
? O Open File ...
? S Save
?? S Save as ...
?? S Save All
? W Close
? K? W Close All
?? T Reopen closed Editor
? K Enter Keep Preview Mode editor Open
? Tab/?? Tab Open next/previous
? K P Copy Path of active file
? K R Reveal active file in Explorer
? K O Show active file in new window/instance
Display
?? F Toggle Full Screen
?? 1 Toggle Editor layout (horizontal/vertical)
?= / ?? -Zoom In/out
? B Toggle Sidebar Visibility
?? E Show Explorer/toggle Focus
?? F Show Search
?? G Show Source Control
?? D Show Debug
?? X Show Extensions
?? H Replace in Files
?? J Toggle Search Details
?? U Show Output Panel
?? V Open Markdown Preview
? K V Open Markdown Preview to the side
? K-Z Zen Mode (ESC esc to exit)
Debug
F9 Toggle Breakpoint
F5 start/continue
F11/? F11 Step Into/out
F10 Step Over
? F5 Stop
? K? I Show Hover
Integrated Terminal
?Show integrated terminal ??
Create New Terminal
? C Copy Selection
? ↑/↓scroll Up/down
PGUP/PGDN Scroll Page Up/down
? Home/end Scroll to Top/bottom
Other operating systems ' keyboard shortcuts and additional
Unassigned Shortcuts available at aka.ms/vscodekeybindings
Keyboard Shortcuts for MacOS
Vscode shortcut keys under Mac OS