Skip to content

Instantly share code, notes, and snippets.

@w3tsa
Last active January 15, 2023 20:19
Show Gist options
  • Select an option

  • Save w3tsa/1bd3df01f7356f96feedc916fcb845c6 to your computer and use it in GitHub Desktop.

Select an option

Save w3tsa/1bd3df01f7356f96feedc916fcb845c6 to your computer and use it in GitHub Desktop.
VSCode keyboard shortcuts

VSCODE Short Cuts

  • Copy: cmd/ctrl + c
  • Paste: cmd/ctrl + v
  • undo: cmd/ctrl + z
  • redo: cmd/ctrl + shift + z
  • save: cmd/ctrl + s
  • save without formatting: (cmd/ctrl + k) + s
  • move cursor by words: opt/alt + arrow keys
  • move cursor to end or to the start: cmd/ctrl + arrow keys
  • move line/multiline up/down: opt/alt + up/down arrow
  • select by letterspace: shift + arrow keys
  • select by words: shift + opt/alt + arrow keys
  • select by line: cmd/ctrl + arrow keys
  • select line: cmd/ctrl + l
  • select occurrences: cmd/ctrl + d
  • select all occurrences: shift + cmd/ctrl + l
  • copy line/multiline: shift + opt/alt + up/down arrow
  • cut line: cmd/ctrl + x
  • open/close file explorer: cmd/ctrl + b
  • navigate to diff file: cmd/ctrl + p
  • navigate to diff tab: opt/alt + cmd/ctl + right/left arrow
  • close tab: cmd/ctrl + w
  • cursor to the new line: cmd/ctrl + enter/return

Debugging Shortcuts

  • Finding a specific element/selector/text: search func in vscode
  • Go the definition of a func: cmd/ctrl + click
  • Split view: cmd/ctrl + \
  • Zen mode: (cmd/ctrl + k) + z
  • Exit zen mode: 2 escape
  • Open terminal: ctrl + `

Shortcut list

  • Show the key binding list: cmd/ctrl + k + s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment