VS Code Shortcuts
Essential Visual Studio Code keyboard shortcuts for Windows, Mac, and Linux
Editing
Ctrl+X / Cmd+X # cut line
Ctrl+C / Cmd+C # copy line
Alt+Up/Down / Opt+Up/Down # move line up/down
Shift+Alt+Up/Down / Shift+Opt+Up/Down # copy line up/down
Ctrl+Shift+K / Cmd+Shift+K # delete line
Ctrl+Enter / Cmd+Enter # insert line below
Multi-cursor & Selection
Alt+Click / Opt+Click # add cursor
Ctrl+Alt+Up/Down / Cmd+Opt+Up/Down # add cursor above/below
Ctrl+D / Cmd+D # select next occurrence
Ctrl+Shift+L / Cmd+Shift+L # select all occurrences
Ctrl+F2 / Cmd+F2 # select all instances
Shift+Alt+Right / Shift+Opt+Right # expand selection
Navigation
Ctrl+P / Cmd+P # quick open file
Ctrl+Shift+O / Cmd+Shift+O # go to symbol
Ctrl+G / Cmd+G # go to line
Alt+Left/Right / Ctrl+-/Ctrl+Shift+- # navigate back/forward
Ctrl+Shift+M / Cmd+Shift+M # show problems
F8 / F8 # go to next error
Search & Replace
Ctrl+F / Cmd+F # find
Ctrl+H / Cmd+Opt+F # replace
Ctrl+Shift+F / Cmd+Shift+F # find in files
Ctrl+Shift+H / Cmd+Shift+H # replace in files
F3 / Cmd+G # find next
Shift+F3 / Cmd+Shift+G # find previous
Display & View
F11 / Ctrl+Cmd+F # toggle fullscreen
Ctrl+B / Cmd+B # toggle sidebar
Ctrl+Shift+E / Cmd+Shift+E # show explorer
Ctrl+Shift+G / Ctrl+Shift+G # show source control
Ctrl+Shift+D / Cmd+Shift+D # show debug
Ctrl+` / Ctrl+` # toggle terminal