You are on page 1of 1

Multi-cursor and selection Editor management

Alt+Click Insert cursor Ctrl+W Close editor

Keyboard shortcuts for Linux Shift+Alt+ /


Ctrl+U
Insert cursor above/below
Undo last cursor operation
Ctrl+K F
Ctrl+\
Close folder
Split editor
st nd rd
Shift+Alt+I Insert cursor at end of each line selected Ctrl+ 1 / 2 / 3 Focus into 1 , 2 , 3 editor group
General Ctrl+I Select current line Ctrl+K Ctrl + Focus into previous editor group

Ctrl+Shift+P, F1 Show Command Palette Ctrl+Shift+L Select all occurrences of current selection Ctrl+K Ctrl + Focus into next editor group
Ctrl+F2 Select all occurrences of current word Ctrl+Shift+PgUp Move editor left
Ctrl+P Quick Open
Ctrl+Shift+N New window/instance Shift+Alt + Expand selection Ctrl+Shift+PgDown Move editor right

Ctrl+W Close window/instance Shift+Alt + Shrink selection Ctrl+K Left Move active editor group left/up
Shift+Alt + drag mouse Column (box) selection Ctrl+K Right Move active editor group right/down

Basic editing
Display File management
Ctrl+X Cut line (empty selection)
Ctrl+C Copy line (empty selection) F11 Toggle full screen Ctrl+N New File

Alt+ / Move line down/up Shift+Alt+1 Toggle editor layout Ctrl+O Open File...
Ctrl+ = / - Zoom in/out Ctrl+S Save
Ctrl+Shift+Alt+ / Copy line down/up
Ctrl+Shift+K Delete line Ctrl+B Toggle Sidebar visibility Ctrl+Shift+S Save As...

Ctrl+Enter / Insert line below/ above Ctrl+Shift+E Show Explorer / Toggle focus Ctrl+Alt+S Save All
Ctrl+Shift+Enter Ctrl+Shift+F Show Search Ctrl+W Close
Ctrl+Shift+\ Jump to matching bracket Ctrl+Shift+G Show Git Ctrl+K Ctrl+W Close All
Ctrl+] / Ctrl+[ Indent/Outdent line Ctrl+Shift+D Show Debug Ctrl+Shift+T Reopen closed editor
Home / End Go to beginning/end of line Ctrl+Shift+X Show Extensions Ctrl+K Enter Keep Open
Ctrl+ Home / End Go to beginning/end of file Ctrl+Shift+H Replace in files Ctrl+Tab Open next
Ctrl+ / Scroll line up/down Ctrl+Shift+J Toggle Search details Ctrl+Shift+Tab Open previous
Alt+ PgUp / PgDown Scroll page up/down Ctrl+Shift+C Open new command prompt/terminal Ctrl+K P Copy path of active file
Ctrl+Shift+ [ / ] Fold/unfold region Ctrl+K Ctrl+H Show Output panel Ctrl+K R Reveal active file in Explorer
Ctrl+K Ctrl+ [ / ] Fold/unfold all subregions Ctrl+Shift+V Toggle Markdown preview Ctrl+K O Show active file in new window/instance
Ctrl+K Ctrl+0 / Fold/Unfold all regions Ctrl+K V Open Markdown preview to the side
Ctrl+K Ctrl+J Debug
Ctrl+K Ctrl+C Add line comment Search and replace
F9 Toggle breakpoint
Ctrl+K Ctrl+U Remove line comment
Ctrl+F Find F5 Start / Continue
Ctrl+/ Toggle line comment
Ctrl+H Replace F11 / Shift+F11 Step into/out
Ctrl+Shift+A Toggle block comment
F3 / Shift+F3 Find next/previous F10 Step over
Alt+Z Toggle word wrap
Alt+Enter Select all occurrences of Find match Shift+F5 Stop
Ctrl+D Add selection to next Find match Ctrl+K Ctrl+I Show hover
Rich languages editing
Ctrl+K Ctrl+D Move last selection to next Find match
Ctrl+Space Trigger suggestion Integrated terminal
Ctrl+Shift+Space Trigger parameter hints Navigation
Ctrl+` Show integrated terminal
Tab Emmet expand abbreviation
Ctrl+T Show all Symbols Ctrl+Shift+` Create new terminal
Ctrl+Shift+I Format document
Ctrl+G Go to Line... Ctrl+Shift+C Copy selection
Ctrl+K Ctrl+F Format selection
Ctrl+P Go to File... Ctrl+Shift+V Paste into active terminal
F12 Go to Definition
Ctrl+Shift+O Go to Symbol... Ctrl+Shift+ / Scroll up/down
Ctrl+Shift+F10 Peek Definition
Ctrl+Shift+M Show Problems panel Shift+ PgUp / PgDown Scroll page up/down
Ctrl+K F12 Open Definition to the side
F8 Go to next error or warning Shift+ Home / End Scroll to top/bottom
Ctrl+. Quick Fix
Shift+F8 Go to previous error or warning
Shift+F12 Show References
Ctrl+Shift+Tab Navigate editor group history
F2 Rename Symbol
Ctrl+Alt+- Go back
Ctrl+Shift+ . / , Replace with next/previous value
Ctrl+Shift+- Go forward Other operating systems keyboard shortcuts and additional
Ctrl+K Ctrl+X Trim trailing whitespace
Ctrl+M Toggle Tab moves focus unassigned shortcuts available at aka.ms/vscodekeybindings
Ctrl+K M Change file language

You might also like