G / G Replace Find next/previous K Enter Keep Open Tab / Tab Open next / previous Enter Select all occurrences of Find match K P Copy path of active file General D Add selection to next Find match K R Reveal active file in Explorer P, F1 Show Command Palette K D Move last selection to next Find match K O Show active file in new window/instance P Quick Open N New window/instance Rich languages editing Display W Close window/instance Space Trigger suggestion F Toggle full screen Space Trigger parameter hints 1 Toggle editor layout Basic editing Tab Emmet expand abbreviation = / - Zoom in/out F Format document B Toggle Sidebar visibility X Cut line (empty selection) K F Format selection E Show Explorer / Toggle focus C Copy line (empty selection) F12 Go to Definition F Show Search / Move line down/up F12 Peek Definition G Show Git / Copy line down/up K F12 Open Definition to the side D Show Debug K Delete line . Quick Fix X Show Extensions Enter / Enter Insert line below/above F12 Show References H Replace in files \ Jump to matching bracket F2 Rename Symbol J Toggle Search details ] / [ Indent/outdent line . / , Replace with next/previous value C Open new command prompt/terminal Home / End Go to beginning/end of line K X Trim trailing whitespace U Show Output panel / Go to beginning/end of file K M Change file language V Toggle Markdown preview PgUp Scroll line up PgDown Scroll line down K V Open Markdown preview to the side PgUp /PgDown Scroll page up/down Navigation [ / ] Fold/unfold region T Show all Symbols Debug K [ / K ] Fold/unfold all subregions G Go to Line... F9 Toggle breakpoint K 0 / K J Fold/unfold all regions P Go to File... F5 Start/Continue K C Add line comment O Go to Symbol... F11 / F11 Step into/ out K U Remove line comment M Show Problems panel F10 Step over / Toggle line comment F8 / F8 Go to next/previous error or warning F5 Stop A Toggle block comment Tab Navigate editor group history K I Show hover Z Toggle word wrap - / - Go back/forward M Toggle Tab moves focus Integrated terminal Multi-cursor and selection Alt+Click Insert cursor Editor management ` Show integrated terminal ` Create new terminal Insert cursor above W Close editor unassigned Copy selection Insert cursor below K F Close folder unassigned Paste into active terminal U Undo last cursor operation I Insert cursor at end of each line selected \ Split editor Scroll up st nd rd I Select current line 1 / 2 / 3 Focus into 1 , 2 , 3 editor group Scroll down L Select all occurrences of current selection K / K Focus into previous/next editor group PgUp Scroll page up F2 Select all occurrences of current word K / K Move editor left/right PgDown Scroll page down Expand selection K / K Move active editor group Home Scroll to top Shrink selection End Scroll to bottom Shift+Alt + drag Column (box) selection mouse File management Column (box) selection up N New File Column (box) selection down O Open File... Column (box) selection left S Save Column (box) selection right PgUp Column (box) selection page up S Save As... Other operating systems keyboard shortcuts and additional PgDown Column (box) selection page down S Save All unassigned shortcuts available at aka.ms/vscodekeybindings