VS Code Keyboard Shortcuts
Complete VS Code keybindings reference. File operations, editing, navigation, multi-cursor, terminal, view, and debug shortcuts for Windows, Mac, and Linux.
Keyboard Shortcuts (38)
File
Ctrl+S
Save file
File
Ctrl+O
Open file
File
Ctrl+N
New file
File
Ctrl+W
Close tab
File
Ctrl+K Ctrl+S
Save all
Edit
Ctrl+Z
Undo
Edit
Ctrl+Y
Redo
Edit
Ctrl+C
Copy
Edit
Ctrl+V
Paste
Edit
Ctrl+X
Cut
Edit
Ctrl+F
Find
Edit
Ctrl+H
Replace
Navigation
Ctrl+G
Go to line
Navigation
Ctrl+P
Quick open file
Navigation
Ctrl+Shift+P
Command palette
Navigation
Ctrl+Tab
Switch tabs
Code
Ctrl+Space
IntelliSense
Code
Ctrl+/
Toggle comment
Code
Ctrl+Shift+K
Delete line
Code
Alt+Up
Move line up
Code
Alt+Down
Move line down
Code
Ctrl+Shift+Enter
Insert line above
Code
Ctrl+Enter
Insert line below
Multi
Alt+Click
Multi-cursor click
Multi
Ctrl+Alt+Up
Add cursor above
Multi
Ctrl+Alt+Down
Add cursor below
Multi
Ctrl+D
Select next occurrence
Terminal
Ctrl+`
Toggle terminal
Terminal
Ctrl+Shift+`
New terminal
View
Ctrl+B
Toggle sidebar
View
Ctrl+Shift+E
Explorer view
View
Ctrl+Shift+F
Search view
View
F11
Full screen
Debug
F5
Start debug
Debug
F9
Toggle breakpoint
Debug
F10
Step over
Debug
F11
Step into
Debug
Shift+F11
Step out
Most Used Shortcuts
Save: Ctrl+S
Find: Ctrl+F
Quick Open: Ctrl+P
Terminal: Ctrl+`
Command: Ctrl+Shift+P
Comment: Ctrl+/
Sidebar: Ctrl+B
Debug: F5