General Shortcuts
Command Palette:
Ctrl + Shift + P
(Windows/Linux),Cmd + Shift + P
(Mac)Open Settings:
Ctrl + ,
(Windows/Linux),Cmd + ,
(Mac)Quick Open (File Search):
Ctrl + P
(Windows/Linux),Cmd + P
(Mac)New File:
Ctrl + N
(Windows/Linux),Cmd + N
(Mac)Open File:
Ctrl + O
(Windows/Linux),Cmd + O
(Mac)Save File:
Ctrl + S
(Windows/Linux),Cmd + S
(Mac)Save All:
Ctrl + K, S
(Windows/Linux),Cmd + Option + S
(Mac)Close File:
Ctrl + W
(Windows/Linux),Cmd + W
(Mac)Close All Files:
Ctrl + K, W
(Windows/Linux),Cmd + Option + W
(Mac)
Editor Navigation
Switch Tabs:
Ctrl + Tab
(Windows/Linux),Cmd + Tab
(Mac)Go to Line:
Ctrl + G
(Windows/Linux),Cmd + G
(Mac)Toggle Sidebar:
Ctrl + B
(Windows/Linux),Cmd + B
(Mac)Split Editor:
Ctrl + \
(Windows/Linux),Cmd + \
(Mac)Navigate Between Editors:
Ctrl + 1
,Ctrl + 2
, etc. (Windows/Linux),Cmd + 1
,Cmd + 2
(Mac)Focus Terminal:
Ctrl + (Windows/Linux),
Cmd + (Mac)
Code Editing
Cut Line:
Ctrl + X
(Windows/Linux),Cmd + X
(Mac)Copy Line:
Ctrl + C
(Windows/Linux),Cmd + C
(Mac)Duplicate Line:
Shift + Alt + Down
(Windows/Linux),Shift + Option + Down
(Mac)Delete Line:
Ctrl + Shift + K
(Windows/Linux),Cmd + Shift + K
(Mac)Move Line Up/Down:
Alt + Up/Down
(Windows/Linux),Option + Up/Down
(Mac)Select Line:
Ctrl + L
(Windows/Linux),Cmd + L
(Mac)Format Code:
Alt + Shift + F
(Windows/Linux),Option + Shift + F
(Mac)Comment/Uncomment Line:
Ctrl + /
(Windows/Linux),Cmd + /
(Mac)
Search and Replace
Find:
Ctrl + F
(Windows/Linux),Cmd + F
(Mac)Find Next:
F3
(Windows/Linux/Mac)Replace:
Ctrl + H
(Windows/Linux),Cmd + Option + F
(Mac)Find in Files:
Ctrl + Shift + F
(Windows/Linux),Cmd + Shift + F
(Mac)
Debugging
Start/Continue Debugging:
F5
Stop Debugging:
Shift + F5
Step Over:
F10
Step Into:
F11
Step Out:
Shift + F11
Toggle Breakpoint:
F9
Version Control (Git)
Open Git:
Ctrl + Shift + G
(Windows/Linux),Cmd + Shift + G
(Mac)Stage Changes:
Ctrl + Shift + A
(Windows/Linux),Cmd + Shift + A
(Mac)Commit:
Ctrl + Enter
(Windows/Linux),Cmd + Enter
(Mac)Push:
Ctrl + Shift + P
, search "Git: Push" (or use custom keybinding)
Terminal
Open Terminal:
Ctrl + (Windows/Linux),
Cmd + (Mac)Create New Terminal:
Ctrl + Shift + (Windows/Linux),
Cmd + Shift + (Mac)Switch Terminal:
Ctrl + PageUp/PageDown
(Windows/Linux),Cmd + Shift + [
/Cmd + Shift + ]
(Mac)
Customization
Toggle Zen Mode:
Ctrl + K Z
(Windows/Linux),Cmd + K Z
(Mac)Toggle Full Screen:
F11
(Windows/Linux),Ctrl + Cmd + F
(Mac)Keyboard Shortcuts Settings:
Ctrl + K, Ctrl + S
(Windows/Linux),Cmd + K, Cmd + S
(Mac)
Extensions and Commands
Show Installed Extensions:
Ctrl + Shift + X
(Windows/Linux),Cmd + Shift + X
(Mac)Run Command:
Ctrl + Shift + P
(Windows/Linux),Cmd + Shift + P
(Mac)