Skip to the main content

Visual Studio Code

Default editor keymap for code navigation, selection, and editing.

Published coverage: Mac, Windows. Environments: Desktop app.

34 actions and 44 key variants match.

Search all apps

Matching shortcuts
Action Keys Row actions
Search available editor commands Command Palette Mac CmdShiftP 1 more variant Details
Find and open a project file Quick Open Mac CmdP 1 more variant Details
Toggle a line's comment state Code editor Mac Cmd/ 1 more variant Details
Remove the current code line Code editor Mac CmdShiftK 1 more variant Details
Shift a line downward Code editor Mac OptionDown arrow 1 more variant Details
Copy a line beneath itself Code editor Mac ShiftOptionDown arrow 1 more variant Details
Format the current file Formatter available A formatter must be installed for the current file type. Mac ShiftOptionF 1 more variant Details
Rename the current symbol Language support available Language support must be available for the current file. Mac F2 1 more variant Details
Add the next matching selection Code editor Mac CmdD 1 more variant Details
Open the keybinding editor Ordered chord sequence Mac CmdKCmdS 1 more variant Details
Copy line Empty selection Windows CtrlC Details
Cut line Empty selection Windows CtrlX Details
Paste clipboard Editor Windows CtrlV Details
Undo change Editor Windows CtrlZ Details
Redo change Editor Windows CtrlY Details
Line below Editor Windows CtrlEnter Details
Line above Editor Windows CtrlShiftEnter Details
Move line up Editor Windows AltUp arrow Details
Copy line above Editor Windows ShiftAltUp arrow Details
Undo cursor Editor Windows CtrlU Details
Select occurrences Current selection Windows CtrlShiftL Details
Select current line Editor Windows CtrlL Details
Cursor below Editor Windows CtrlAltDown arrow Details
Cursor above Editor Windows CtrlAltUp arrow Details
Matching bracket Editor Windows CtrlShift\ Details
Indent line Editor Windows Ctrl] Details
Outdent line Editor Windows Ctrl[ Details
Find Editor Windows CtrlF Details
Replace Editor Windows CtrlH Details
Toggle wrapping Editor Windows AltZ Details