This document provides keyboard shortcuts for the Linux version of Visual Studio Code. It includes shortcuts for multi-cursor editing, basic editing, navigation, search and replace, formatting, debugging, integrated terminal, and file management. Many common shortcuts like Ctrl+S to save and Ctrl+C/X to copy/cut are the same as other applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0 ratings0% found this document useful (0 votes)
131 views
Keyboard Shortcuts Linux
This document provides keyboard shortcuts for the Linux version of Visual Studio Code. It includes shortcuts for multi-cursor editing, basic editing, navigation, search and replace, formatting, debugging, integrated terminal, and file management. Many common shortcuts like Ctrl+S to save and Ctrl+C/X to copy/cut are the same as other applications.
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1
Multi-cursor and selection Editor management
Alt+Click Insert cursor* Ctrl+W Close editor
Shift+Alt+ ↑ / ↓ Insert cursor above/below Ctrl+K F Close folder Keyboard shortcuts for Linux Ctrl+U Undo last cursor operation Ctrl+\ Split editor Shift+Alt+I Insert cursor at 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 previous editor group Ctrl+Shift+L Select all occurrences of current selection Ctrl+K Ctrl + → Focus into next editor group Ctrl+Shift+P, F1 Show Command Palette Ctrl+F2 Select all occurrences of current word Ctrl+Shift+PgUp Move editor left Ctrl+P Quick Open, Go to File... Shift+Alt + → Expand selection Ctrl+Shift+PgDn Move editor right Ctrl+Shift+N New window/instance Shift+Alt + ← Shrink selection Ctrl+K ← Move active editor group left/up Ctrl+W Close window/instance Shift+Alt + drag mouse Column (box) 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 Cut line (empty selection) Ctrl+ = / - Zoom in/out Ctrl+S Save Ctrl+C 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 Source Control Ctrl+Shift+T Reopen closed editor Ctrl+Shift+Enter Ctrl+Shift+D 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+J 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 page up/down Ctrl+Shift+V Open Markdown preview Ctrl+Shift+ [ / ] Fold/unfold region Ctrl+K Ctrl+ [ / ] Fold/unfold all subregions Ctrl+K V Open Markdown preview to the side Debug Ctrl+K Z Zen Mode (Esc Esc to exit) Ctrl+K Ctrl+0 / Fold/Unfold all regions F9 Toggle breakpoint Ctrl+K Ctrl+J F5 Start / Continue Ctrl+K Ctrl+C Add line comment Search and replace F11 / Shift+F11 Step into/out Ctrl+K Ctrl+U Remove line comment Ctrl+F Find 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 Ctrl+Shift+` Create new terminal Ctrl+Space Trigger suggestion Navigation Ctrl+Shift+C Copy selection Ctrl+Shift+Space Trigger parameter hints Ctrl+T Show all Symbols Ctrl+Shift+V Paste into active terminal Ctrl+Shift+I Format 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 top/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 history F2 Rename Symbol Ctrl+Alt+- Go back * The Alt+Click gesture may not work on some Linux distributions. Ctrl+K Ctrl+X Trim 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.