Skip to content

Instantly share code, notes, and snippets.

@khanhicetea
Last active August 22, 2021 05:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save khanhicetea/72230663bf2597c9a1418f110dc23203 to your computer and use it in GitHub Desktop.
Save khanhicetea/72230663bf2597c9a1418f110dc23203 to your computer and use it in GitHub Desktop.
VSCode
Keybinding Action Tag
Ctrl+X Cut line (empty selection) basic-editing
Ctrl+C Copy line (empty selection) basic-editing
Alt+ ↓ / ↑ Move line down/up basic-editing
Ctrl+Shift+K Delete line basic-editing
Ctrl+Enter Insert line below basic-editing
Ctrl+Shift+Enter Insert line above basic-editing
Ctrl+Shift+\ Jump to matching bracket basic-editing
Home Go to beginning basic-editing
End Go to end of line basic-editing
Ctrl+ Home Go to beginning of file basic-editing
Ctrl+ End Go to end of file basic-editing
Ctrl+ ↑ Scroll line up basic-editing
Ctrl+ ↓ Scroll line down basic-editing
Ctrl+Shift+ [ Fold region basic-editing
Ctrl+Shift+ ] Unfold region basic-editing
Ctrl+/ Toggle line comment basic-editing
Ctrl+Shift+A Toggle block comment basic-editing
Alt+Z Toggle word wrap basic-editing
F9 Toggle debug breakpoint debug
F5 Debug Start / Continue debug
F11 Debug Step into debug
Shift+F11 Debug Step out debug
F10 Debug Step over debug
Shift+F5 Stop Debug debug
Ctrl+B Toggle Sidebar visibility display
Ctrl+Shift+E Show Explorer / Toggle focus display
Ctrl+Shift+F Show Search display
Ctrl+Shift+G Show Source Control display
Ctrl+Shift+D Show Debug display
Ctrl+K V Open Markdown preview to the side display
Ctrl+K Z Zen Mode (Esc Esc to exit) display
Ctrl+W Close editor editor
Ctrl+\ Split editor editor
Ctrl+K Ctrl + ← Focus into previous editor group editor
Ctrl+K Ctrl + → Focus into next editor group editor
Ctrl+N New File file
Ctrl+O Open File... file
Ctrl+S Save file
Ctrl+Shift+S Save As... file
Ctrl+K Ctrl+W Close All file
Ctrl+Shift+T Reopen closed editor file
Ctrl+Tab Open next file
Ctrl+Shift+Tab Open previous file
Ctrl+K P Copy path of active file file
Ctrl+K R Reveal active file in Explorer file
Ctrl+Shift+P Show Command Palette general
Ctrl+P Quick Open, Go to File... general
Ctrl+T Show all Symbols navigation
Ctrl+G Go to Line... navigation
Ctrl+Shift+O Go to Symbol... navigation
Ctrl+Space Trigger suggestion rich-editing
Ctrl+Shift+I Format document rich-editing
F12 Go to Definition rich-editing
Ctrl+Shift+F10 Peek Definition rich-editing
Ctrl+K F12 Open Definition to the side rich-editing
F2 Rename Symbol rich-editing
Ctrl+K M Change file language rich-editing
Ctrl+F Find search-replace
Ctrl+H Replace search-replace
Alt+Enter Select all occurrences of Find match search-replace
Ctrl+D Add selection to next Find match search-replace
Shift+Alt+ ↑ Insert cursor above selection
Ctrl+U Undo last cursor operation selection
Shift+Alt+I Insert cursor at end of each line selected selection
Ctrl+L Select current line selection
Ctrl+Shift+L Select all occurrences of current selection selection
Shift+Alt + → Expand selection selection
Shift+Alt + ← Shrink selection selection
Shift+Alt + drag mouse Column (box) selection selection
Ctrl+` Show integrated terminal terminal
Ctrl+Shift+` Create new terminal terminal
Ctrl+Shift+C Copy selection terminal
Ctrl+Shift+V Paste into active terminal terminal
Ctrl+Shift+ ↑ Scroll up terminal
Ctrl+Shift+ ↓ Scroll down terminal
Shift+Alt+ ↓ Insert cursor below selection
Ctrl+ = Zoom in display
Ctrl+ - Zoom out display
Keybinding Action Tag
Ctrl+Shift+P Show Command Palette general
F1 Show Command Palette general
Ctrl+P Quick Open, Go to File... general
Ctrl+Shift+N New window/instance general
Ctrl+W Close window/instance general
Ctrl+, User Settings general
Ctrl+K Ctrl+S Keyboard Shortcuts general
Ctrl+X Cut line (empty selection) basic-editing
Ctrl+C Copy line (empty selection) basic-editing
Alt+ ↓ / ↑ Move line down/up basic-editing
Ctrl+Shift+K Delete line basic-editing
Ctrl+Enter Insert line below basic-editing
Ctrl+Shift+Enter Insert line above basic-editing
Ctrl+Shift+\ Jump to matching bracket basic-editing
Ctrl+] Indent line basic-editing
Ctrl+[ Outdent line basic-editing
Home Go to beginning basic-editing
End Go to end of line basic-editing
Ctrl+ Home Go to beginning of file basic-editing
Ctrl+ End Go to end of file basic-editing
Ctrl+ ↑ Scroll line up basic-editing
Ctrl+ ↓ Scroll line down basic-editing
Alt+ PgUp Scroll page up basic-editing
Alt+ PgDn Scroll page down basic-editing
Ctrl+Shift+ [ Fold region basic-editing
Ctrl+Shift+ ] Unfold region basic-editing
Ctrl+K Ctrl+ [ Fold all subregions basic-editing
Ctrl+K Ctrl+ ] Unfold all subregions basic-editing
Ctrl+K Ctrl+0 Fold all regions basic-editing
Ctrl+K Ctrl+J Unfold all regions basic-editing
Ctrl+K Ctrl+C Add line comment basic-editing
Ctrl+K Ctrl+U Remove line comment basic-editing
Ctrl+/ Toggle line comment basic-editing
Ctrl+Shift+A Toggle block comment basic-editing
Alt+Z Toggle word wrap basic-editing
Ctrl+Space Trigger suggestion rich-editing
Ctrl+I Trigger suggestion rich-editing
Ctrl+Shift+Space Trigger parameter hints rich-editing
Ctrl+Shift+I Format document rich-editing
Ctrl+K Ctrl+F Format selection rich-editing
F12 Go to Definition rich-editing
Ctrl+Shift+F10 Peek Definition rich-editing
Ctrl+K F12 Open Definition to the side rich-editing
Ctrl+. Quick Fix rich-editing
Shift+F12 Show References rich-editing
F2 Rename Symbol rich-editing
Ctrl+K Ctrl+X Trim trailing whitespace rich-editing
Ctrl+K M Change file language rich-editing
Alt+Click Insert cursor* selection
Shift+Alt+ ↑ Insert cursor above selection
Shift+Alt+ ↓ Insert cursor below selection
Ctrl+U Undo last cursor operation selection
Shift+Alt+I Insert cursor at end of each line selected selection
Ctrl+L Select current line selection
Ctrl+Shift+L Select all occurrences of current selection selection
Ctrl+F2 Select all occurrences of current word selection
Shift+Alt + → Expand selection selection
Shift+Alt + ← Shrink selection selection
Shift+Alt + drag mouse Column (box) selection selection
F11 Toggle full screen display
Shift+Alt+0 Toggle editor layout (horizontal/vertical) display
Ctrl+ = Zoom in display
Ctrl+ - Zoom out display
Ctrl+B Toggle Sidebar visibility display
Ctrl+Shift+E Show Explorer / Toggle focus display
Ctrl+Shift+F Show Search display
Ctrl+Shift+G Show Source Control display
Ctrl+Shift+D Show Debug display
Ctrl+Shift+X Show Extensions display
Ctrl+Shift+H Replace in files display
Ctrl+Shift+J Toggle Search details display
Ctrl+Shift+C Open new command prompt/terminal display
Ctrl+K Ctrl+H Show Output panel display
Ctrl+Shift+V Open Markdown preview display
Ctrl+K V Open Markdown preview to the side display
Ctrl+K Z Zen Mode (Esc Esc to exit) display
Ctrl+F Find search-replace
Ctrl+H Replace search-replace
F3 Find next search-replace
Shift+F3 Find previous search-replace
Alt+Enter Select all occurrences of Find match search-replace
Ctrl+D Add selection to next Find match search-replace
Ctrl+K Ctrl+D Move last selection to next Find match search-replace
Ctrl+T Show all Symbols navigation
Ctrl+G Go to Line... navigation
Ctrl+P Go to File... navigation
Ctrl+Shift+O Go to Symbol... navigation
Ctrl+Shift+M Show Problems panel navigation
F8 Go to next error or warning navigation
Shift+F8 Go to previous error or warning navigation
Ctrl+Shift+Tab Navigate editor group history navigation
Ctrl+Alt+- Go back navigation
Ctrl+Shift+- Go forward navigation
Ctrl+M Toggle Tab moves focus navigation
Ctrl+W Close editor editor
Ctrl+K F Close folder editor
Ctrl+\ Split editor editor
Ctrl+ 1 / 2 / 3 Focus into 1st, 2nd, 3rd editor group editor
Ctrl+K Ctrl + ← Focus into previous editor group editor
Ctrl+K Ctrl + → Focus into next editor group editor
Ctrl+Shift+PgUp Move editor left editor
Ctrl+Shift+PgDn Move editor right editor
Ctrl+K ← Move active editor group left/up editor
Ctrl+K → Move active editor group right/down editor
Ctrl+N New File file
Ctrl+O Open File... file
Ctrl+S Save file
Ctrl+Shift+S Save As... file
Ctrl+W Close file
Ctrl+K Ctrl+W Close All file
Ctrl+Shift+T Reopen closed editor file
Ctrl+K Enter Keep preview mode editor open file
Ctrl+Tab Open next file
Ctrl+Shift+Tab Open previous file
Ctrl+K P Copy path of active file file
Ctrl+K R Reveal active file in Explorer file
Ctrl+K O Show active file in new window/instance file
F9 Toggle debug breakpoint debug
F5 Debug Start / Continue debug
F11 Debug Step into debug
Shift+F11 Debug Step out debug
F10 Debug Step over debug
Shift+F5 Stop Debug debug
Ctrl+K Ctrl+I Show hover debug debug
Ctrl+` Show integrated terminal terminal
Ctrl+Shift+` Create new terminal terminal
Ctrl+Shift+C Copy selection terminal
Ctrl+Shift+V Paste into active terminal terminal
Ctrl+Shift+ ↑ Scroll up terminal
Ctrl+Shift+ ↓ Scroll down terminal
Shift+ PgUp Scroll page up terminal
Shift+ PgDn Scroll page down terminal
Shift+ Home Scroll to top terminal
Shift+ End Scroll to bottom terminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment