VS Code Shortcuts in 15 minutes

Note

  • Cmd (⌘) on mac == Ctrl on Windows/Linux
  • Show keystrokes with Toggle Screencast Mode

Essentials

  • Quick Open Cmd/Ctrl + P
  • Multi selection Cmd/Ctrl + D
  • Find in project Cmd/Ctrl + Shift + F
  • Previous or Next editor (Tab) Cmd/Ctrl + Shift + [ or ]
  • Open Command Palette Cmd/Ctrl + Shift + P

Text Editing

  • Insert line below / above Cmd/Ctrl (+ Shift) + Enter
  • Go to line
    • Ctrl + G
    • Quick open with :num
  • Word operation modifier Alt (⌥ on Mac)
  • Select line Cmd/Ctrl + L
  • Delete line Cmd/Ctrl + Shift + K / Cut line (Cmd/Ctrl + X)
  • Move line Alt + Up/Down
  • Indent Cmd/Ctrl + [ / ]

Miscelleneous

  • Cmd/Ctrl + K commands (Key combination)

    • Language Mode : -> M
    • View Keyboard Shortcuts : -> Cmd/Ctrl + S
    • Zen mode : -> Z
  • Type on command pallette

    • Show Explorer
    • Toggle Terminal
    • Create file (Edit/Rename/Delete needs “File Utils” extension)
    • Split editor
    • Toggle word wrap
    • Screencast Mode
    • Reveal in file explorer
    • Find other commands & shortcut keys
  • Tips