chevron_left Return to lesson
# VSCode Shortcuts
List of helpful shortcuts for faster coding
Thanks to Brad Traversy for this list. Here is his video discussing this list (opens new window)
# Official List of all commands
# Open/View
Open Command Pallete
Shift+Cmd+P
Shift+Ctrl+P
1
2
2
Access Settings
Cmd+,
Ctrl+,
1
2
2
Toggle Terminal
Ctrl+`
Ctrl+`
1
2
2
Create New Terminal
Shift+Ctrl+`
Shift+Ctrl+`
1
2
2
Toggle Sidebar
Cmd+B
Ctrl+B
1
2
2
Open New Window/Instance
Shift+Cmd+N
Shift+Ctrl+N
1
2
2
Close Window
Cmd+W
Ctrl+W
1
2
2
# Working With Files
Sidebar Focus
Shift+Cmd+E
Shift+Ctrl+E
1
2
2
Open File/Folder From Sidebar
Cmd+Down
Ctrl+Down
1
2
2
Change File Tabs
Ctrl+Tab
Ctrl+PageUP
1
2
2
Quick File Open
Cmd+P
Ctrl+P
1
2
2
Open File From Explorer
Cmd+O
Ctrl+O
1
2
2
New File
Cmd+N
Ctrl+N
1
2
2
Save
Cmd+S
Ctrl+S
1
2
2
Save As
Shift+Cmd+S
Shift+Ctrl+S
1
2
2
Close File
Cmd+W
Ctrl+W
1
2
2
Delete File
Cmd+Delete
Ctrl+Delete
1
2
2
Reopen Files
Shift+Cmd+T
Shift+Ctrl+T
1
2
2
Zoom
Cmd++ # Zoom in
Cmd+- # Zoom out
Ctrl++ # Zoom in
Ctrl+- # Zoom out
1
2
3
4
5
2
3
4
5
Spilt Editor
Cmd+\
Ctrl+\
1
2
2
# Code Editing
Go To Start & End Of Line
Cmd+Right
Cmd+Left
Ctrl+Right
Ctrl+Left
home
end
1
2
3
4
5
6
7
8
2
3
4
5
6
7
8
Move By Word
Option+Right
Option+Left
Alt+Right
Alt+Left
1
2
3
4
5
2
3
4
5
Go To Start & End Of File
Cmd+Up
Cmd+Down
Ctrl+Home
Ctrl+End
1
2
3
4
5
2
3
4
5
Cut, Copy & Past Line
Cmd+X #Cut
Cmd+C #Copy
Cmd+V #Paste
Ctrl+X # Cut
Ctrl+C # Copy
Ctrl+V # Paste
1
2
3
4
5
6
7
2
3
4
5
6
7
Move Line Up & Down
Option+Up
Option+Down
Alt+Up
Alt+Down
1
2
3
4
5
2
3
4
5
Copy Line Up & Down
Shift+Option+Up
Shift+Option+Down
Shift+Alt+Up
Shift+Alt+Down
1
2
3
4
5
2
3
4
5
Remove Line
ShiftCmd+K
Shift+Ctrl+K
1
2
2
Insert Line
Cmd+Enter # Insert below
Shift+Cmd+Enter # Insert above
Ctrl+Enter # Insert below
Shift+Ctrl+Enter # Insert above
1
2
3
4
5
2
3
4
5
Jump To Matching Bracket
Shift+Cmd+\
Shift+Ctrl+\
1
2
2
Add Line Comment
Cmd+/
Ctrl+/
1
2
2
Add Block Comment
Shift+Option+A
Shift+Alt+A
1
2
2
Highlight Code
Shift+Any Direction
1
Select Next Match
Cmd+D
Ctrl+D
1
2
2
De-select Match
Cmd+U
Ctrl+U
1
2
2
Add Cursor
Option+Click
Alt+Click
1
2
2
Go to Entity (Functions, vars, etc)
Cmd+Shift+O
Ctrl+Shift+O
1
2
2