You are on page 1of 1

Search and replace File management

Ctrl+ F Find Ctrl+ N New File


Ctrl+ H Replace Ctrl+ O Open File...
Keyboard shortcuts for Windows F3 / Shift + F3 Find next/ previous Ctrl+ S Save
Alt+Ent er Select all occurences of Find match Ctrl+ Shift+S Save As...
General Ctrl+ D Add selection to next Find match Ctrl+ K S Save All

Ctrl+ Shift+P, F1 Show Command Palette Ctrl+ K Ct rl+ D Move last selection to next Find match Ctrl+ F4 Close
Ctrl+ P Quick Open Alt+C / R / W Toggle case-sensitive / regex / whole word Ctrl+ K Ctrl+ W Close All
Ctrl+ Shift+T Reopen closed editor
Ctrl+ Shift+ N New window/ instance
Ctrl+ Shift+ W Close window/ instance M ulti-cursor and selection Ctrl+ K Enter Keep Open
Ctrl+ Tab Open next
Alt+Click Insert cursor Ctrl+ Shift+Tab Open previous
Basic editing Ctrl+ Alt + / Insert cursor above / below Ctrl+ K P Copy path of active file
Ctrl+ X Cut line (empty selection) Ctrl+ U Undo last cursor operation Ctrl+ K R Reveal active file in Explorer
Ctrl+ C Copy line (empty selection) Shift+Alt +I Insert cursor at end of each line selected Ctrl+ K O Show active file in new window/ instance
Alt+ / Move line up/ down Ctrl+ I Select current line

Shift+ Alt + / Copy line up/ down Ctrl+ Shift+ L Select all occurrences of current selection Display
Ctrl+ Shift+ K Delete line Ctrl+ F2 Select all occurrences of current word
F11 Toggle full screen
Ctrl+ Enter Insert line below Shift+Alt + Expand selection
Shift+Alt + 1 Toggle editor layout
Ctrl+ Shift+Enter Insert line above Shift+Alt + Shrink selection
Ctrl+ = / - Zoom in/ out
Ctrl+ Shift+ \ Jump to matching bracket Shift+Alt + Column (box) selection
(drag mouse) Ctrl+ B Toggle Sidebar visibility
Ctrl+ ] / [ Indent/ outdent line Ctrl+ Shift+E Show Explorer / Toggle focus
Ctrl+ Shift+Alt Column (box) selection
Home Go to beginning of line Ctrl+ Shift+ F Show Search
+ (arrow key)
End Go to end of line Ctrl+ Shift+ G Show Git
Ctrl+ Shift+Alt Column (box) selection page up/ down
Ctrl+ Home Go to beginning of file + PgUp/ PgDown Ctrl+ Shift+D Show Debug
Ctrl+ End Go to end of file Ctrl+ Shift+X Show Extensions
Ctrl+ / Scroll line up/ down
Rich languages editing Ctrl+ Shift+H Replace in files
Alt+ PgUp / PgDown Scroll page up/ down Ctrl+ Shift+J Toggle Search details
Ctrl+ Shift+ [ Fold (collapse) region Ctrl+ Space Trigger suggestion Ctrl+ Shift+ C Open new command prompt/ terminal
Ctrl+ Shift+ ] Unfold (uncollapse) region Ctrl+ Shift+Space Trigger parameter hints Ctrl+ Shift+U Show Output panel
Ctrl+ K Ctrl+[ Fold (collapse) all subregions Tab Emmet expand abbreviation Ctrl+ Shift+ V Toggle Markdown preview
Ctrl+ K Ctrl+] Unfold (uncollapse) all subregions Shift+Alt +F Format document Ctrl+ K V Open Markdown preview to the side
Ctrl+ K Ctrl+0 Fold (collapse) all regions Ctrl+ K Ct rl+ F Format selection
Ctrl+ K Ctrl+J Unfold (uncollapse) all regions F12 Go to Definition Debug
Ctrl+ K Ctrl+C Add line comment Alt+F12 Peek Definition
F9 Toggle breakpoint
Ctrl+ K Ctrl+U Remove line comment Ctrl+ K F12 Open Definition to the side
F5 Start/ Continue
Ctrl+ / Toggle line comment Ctrl+ . Quick Fix
Shift+F5 Stop
Shift+ Alt+ A Toggle block comment Shift+F12 Show References
F11 / Shift+ F11 Step into/ out
Alt+ Z Toggle word wrap F2 Rename Symbol
F10 Step over
Ctrl+ Shift+ . / , Replace with next/ previous value
Ctrl+ K Ctrl+ I Show hover
Navigation Ctrl+ K Ct rl+ X Trim trailing whitespace

Ctrl+ T Show all Symbols


Ctrl+ K M Change file language Integrated terminal
Ctrl+ G Go to Line... Ctrl+ ` Show integrated terminal
Ctrl+ P Go to File... Editor management
Ctrl+ Shift+` Create new terminal
Ctrl+ Shift+O Go to Symbol... Ctrl+ F4, Ct rl+ W Close editor Ctrl+ Shift+ C Copy selection
Ctrl+ Shift+M Show Problems panel Ctrl+ K F Close folder Ctrl+ Shift+ V Paste into active terminal
F8 Go to next error or warning Ctrl+ \ Split editor Ctrl+ / Scroll up/ down
Shift+ F8 Go to previous error or warning Ctrl+ 1 / 2 / 3 Focus into 1st , 2nd or 3rd editor group Shift+ PgUp / PgDown Scroll page up/ down
Ctrl+ Shift+Tab Navigate editor group history Ctrl+ K Ct rl+ / Focus into previous/ next editor group Ctrl+ Home / End Scroll to top/bottom
Alt+ / Go back / forward Ctrl+ Shift+PgUp / Move editor left/ right
Ctrl+ M Toggle Tab moves focus PgDown Other operating systems keyboard shortcuts and additional
Ctrl+ K / Move active editor group unassigned shortcuts available at aka.ms/vscodekeybindings

You might also like