Skip to content

VS Code Shortcuts

5 categories ยท 52 shortcuts

01

General

5 shortcuts
  • Show Command PaletteCtrl+Shift+Pwindows
  • Quick Open fileCtrl+Pwindows
  • Open SettingsCtrl+,windows
  • Open Keyboard ShortcutsCtrl+KCtrl+Swindows
  • Toggle terminalCtrl+`windows
02

Editing

6 shortcuts
  • Save fileCtrl+Swindows
  • Cut line (no selection)Ctrl+Xwindows
  • Copy line (no selection)Ctrl+Cwindows
  • Move line up/downAlt+Up/Alt+Downwindows
  • Duplicate line downShift+Alt+Downwindows
  • Toggle line commentCtrl+/windows
03

Navigation

7 shortcuts
  • Go to lineCtrl+Gwindows
  • Go to definitionF12
  • Peek definitionAlt+F12windows
  • Find all referencesShift+F12
  • Go to symbol in fileCtrl+Shift+Owindows
  • Switch between open editorsCtrl+Tabwindows
  • Switch editors (reverse)Ctrl+Shift+Tabwindows
04

Search

6 shortcuts
  • Find in fileCtrl+Fwindows
  • Replace in fileCtrl+Hwindows
  • Find in filesCtrl+Shift+Fwindows
  • Replace in filesCtrl+Shift+Hwindows
  • Find nextF3
  • Find previousShift+F3
05

Multi-cursor

5 shortcuts
  • Add cursor at clickAlt+Clickwindows
  • Add cursor aboveCtrl+Alt+Upwindows
  • Add cursor belowCtrl+Alt+Downwindows
  • Select next occurrenceCtrl+Dwindows
  • Select all occurrencesCtrl+Shift+Lwindows