Keyboard Shortcuts Guide
This guide provides keyboard shortcuts for fast programming. The main environment covered is VSCode, but we also include Visual Studio and Ubuntu system shortcuts.
VSCode
General Editing
Copy:
Ctrl + CCut:
Ctrl + XPaste:
Ctrl + VUndo:
Ctrl + ZRedo:
Ctrl + YMove Line Up/Down:
Alt + Up/DownDelete Line:
Ctrl + Shift + K
Autocomplete
Autocomplete menu:
Ctrl + SpaceAccept Autocomplete:
TabClose Autocomplete:
Esc
Selection
Select Word:
Ctrl + Shift + Left/RightSelect Line:
Shift + Home/EndSelect repetitions from word selected:
Ctrl + DSelect All:
Ctrl + ASelect in Square (Column Mode):
Shift + Alt + Drag(mouse)
Multi-Cursor Editing
Multiple Selections:
Shift + MovementAdd Another Cursor:
Ctrl + Alt + Up/DownSelect All Matching Words:
Ctrl + Shift + L
Find & Replace
Find:
Ctrl + FFind Next:
F3Find & Replace:
Ctrl + H
Code Formatting & Refactoring
Format Code:
Shift + Alt + FRename Symbol:
F2Quick Fix (Refactor Suggestions):
Ctrl + .Comment Line:
Ctrl + /
File & Window Management
Open File:
Ctrl + POpen new File:
Ctrl + NSwitch Tabs:
Ctrl + TabClose Tab:
Ctrl + WToggle Sidebar:
Ctrl + BOpen Terminal:
Ctrl + jToggle Full Screen:
F11Increase Windows Size:
Ctrl + +Decrease Windows Size:
Ctrl + -
System Shortcuts
Window & Tab Management
Switch Windows:
Alt + TabClose Window:
Alt + F4Switch Tabs:
Ctrl + TabMaximize Window:
Super + UpMinimize Window:
Super + Down
Monitors (Ubuntu)
Change Monitor:
Ctrl + Alt + Right/Left | Up/DownMove Window to Next Monitor:
Ctrl + Alt + Shift + Right/Left | Up/Down
Terminal Shortcuts
Open Terminal:
Ctrl + Alt + T
For a complete list of shortcuts, check the official documentation for each environment.