VSC & Me — Shortcuts

A path of least resistance, A.K.A. shortcut.
  • CTRL + F — search for a word/sentence (Alt + C will match case, Alt + W will match the whole word, and Alt + R you can use regular expression)
  • CTRL + D — Add selection to Next Find Match.
  • CTRL + F2 — Change all occurrences
  • CTRL + H — Search and replace.
  • CTRL + G — Go to line/column.
  • CTRL + SHIFT + K — Delete Line
  • CTRL + U — Cursor Undo
  • ALT + CLICK — Repeat cursor.
  • ALT + UP/DOWN ARROW — Move current line up/down.
  • CTRL + ALT + UP/DOWN ARROW — Add cursor above/below
  • CTRL + SHIFT + ENTER — Insert line above
  • CTRL + ENTER — Insert line below
  • CTRL +RIGHT/LEFT ARROW — Move cursor to the end of the word to it’s right/left.
  • CTRL + SHIFT +RIGHT/LEFT ARROW — Move cursor to the end of the word to it’s right/left and select it.
  • CTRL + Tab — Navigate between files.
  • CTRL + B — Open/close side bar. (Ctrl + Shift + E explorer view, Ctrl + Shift + F search whole project, Ctrl + Shift + G git options, Ctrl + Shift + D debug options, Ctrl + Shift + X extensions panel).
  • CTRL + | — Split editor.
  • CTRL + SHIFT + T — Reopen a closed editor.
  • CTRL + K, SHIFT +ENTER — Pin an open editor.
  • CTRL + W — Close current window.
  • CTRL + N — New tab.
  • CTRL + Shift + N — New window.
  • CTRL +K, Z — Toggle Zen mode.
  • CTRL+K, CTRL+R — Open keyboard shortcuts reference.
Even if you stumble while learning, it's still a shortcut :)

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store