Quick viewing(Text Mode)

Keyboard-Shortcuts-Linux.Pdf

Keyboard-Shortcuts-Linux.Pdf

Multi-cursor and selection Editor management

Alt+Click Insert cursor* Ctrl+ editor

Keyboard shortcuts for Shift+Alt+ ↑ / ↓ Insert cursor above/below Ctrl+="tag">K F Close folder Ctrl+U Undo last cursor operation Ctrl+\ editor Shift+Alt+I Insert cursor end of each line selected Ctrl+ 1 / 2 / 3 Focus into 1st, 2nd, 3rd editor group General Ctrl+L Select current line Ctrl+K Ctrl + ← Focus into editor group Ctrl+Shift+L Select all occurrences of current selection Ctrl+K Ctrl + → Focus into next editor group Ctrl+Shift+P, F1 Show Palette Ctrl+F2 Select all occurrences of current word Ctrl+Shift+PgUp Move editor left Ctrl+P Quick , Go to ... Shift+Alt + → selection Ctrl+Shift+PgDn Move editor right Ctrl+Shift+N New /instance Shift+Alt + ← Shrink selection Ctrl+K ← Move active editor group left/up Ctrl+W Close window/instance Shift+Alt + drag mouse Column () selection Ctrl+K → Move active editor group right/down Ctrl+, User Settings Ctrl+K Ctrl+S Keyboard Shortcuts Display File management Basic editing F11 Toggle full screen Ctrl+N New File Shift+Alt+0 Toggle editor layout (horizontal/vertical) Ctrl+O Open File... Ctrl+X line (empty selection) Ctrl+ = / - in/out Ctrl+S Save Ctrl+ Copy line (empty selection) Ctrl+B Toggle Sidebar visibility Ctrl+Shift+S Save As... Alt+ ↓ / ↑ Move line down/up Ctrl+Shift+E Show Explorer / Toggle focus Ctrl+W Close Ctrl+Shift+K Delete line Ctrl+Shift+F Show Search Ctrl+K Ctrl+W Close All Ctrl+Enter / Insert line below/ above Ctrl+Shift+G Show Control Ctrl+Shift+T Reopen closed editor Ctrl+Shift+Enter Ctrl+Shift+ Show Debug Ctrl+K Enter Keep preview mode editor open Ctrl+Shift+\ Jump to matching bracket Ctrl+Shift+X Show Extensions Ctrl+Tab Open next Ctrl+] / Ctrl+[ Indent/Outdent line Ctrl+Shift+H Replace in files Ctrl+Shift+Tab Open previous Home / End Go to beginning/end of line Ctrl+Shift+ Toggle Search details Ctrl+K P Copy path of active file Ctrl+ Home / End Go to beginning/end of file Ctrl+Shift+C Open new command prompt/terminal Ctrl+K R Reveal active file in Explorer Ctrl+ ↑ / ↓ Scroll line up/down Ctrl+K Ctrl+H Show Output panel Ctrl+K O Show active file in new window/instance Alt+ PgUp / PgDn Scroll up/down Ctrl+Shift+V Open Markdown preview Ctrl+Shift+ [ / ] /unfold region Ctrl+K V Open Markdown preview to the side Debug Ctrl+K Ctrl+ [ / ] Fold/unfold all subregions Ctrl+K Z Zen Mode (Esc Esc to ) Ctrl+K Ctrl+0 / Fold/Unfold all regions F9 Toggle breakpoint Ctrl+K Ctrl+J Search and replace F5 Start / Continue Ctrl+K Ctrl+C Add line comment F11 / Shift+F11 into/out Ctrl+K Ctrl+U Remove line comment Ctrl+F F10 Step over Ctrl+/ Toggle line comment Ctrl+H Replace Shift+F5 Stop Ctrl+Shift+A Toggle block comment F3 / Shift+F3 Find next/previous Ctrl+K Ctrl+I Show hover Alt+Z Toggle word wrap Alt+Enter Select all occurrences of Find match Ctrl+D Add selection to next Find match Integrated terminal Ctrl+K Ctrl+D Move last selection to next Find match Rich languages editing Ctrl+` Show integrated terminal Navigation Ctrl+Shift+` Create new terminal Ctrl+Space, Ctrl+I Trigger suggestion Ctrl+Shift+C Copy selection Ctrl+Shift+Space Trigger parameter hints Ctrl+T Show all Symbols Ctrl+Shift+V into active terminal Ctrl+Shift+I document Ctrl+G Go to Line... Ctrl+Shift+ ↑ / ↓ Scroll up/down Ctrl+K Ctrl+F Format selection Ctrl+P Go to File... Shift+ PgUp / PgDn Scroll page up/down F12 Go to Definition Ctrl+Shift+O Go to Symbol... Shift+ Home / End Scroll to /bottom Ctrl+Shift+F10 Peek Definition Ctrl+Shift+M Show Problems panel Ctrl+K F12 Open Definition to the side F8 Go to next error or warning Ctrl+. Quick Fix Shift+F8 Go to previous error or warning Shift+F12 Show References Ctrl+Shift+Tab Navigate editor group F2 Rename Symbol Ctrl+Alt+- Go back * The Alt+Click gesture may not work on some Linux distributions. Ctrl+K Ctrl+X trailing whitespace Ctrl+Shift+- Go forward You can change the modifier key for the Insert cursor command to Ctrl+K M Change file language Ctrl+M Toggle Tab moves focus Ctrl+Click with the “editor.multiCursorModifier” setting.