Skip to content

↑↓ moveEnter openEsc close

Insert cursor above in VS Code

VS Code 1.96 · 138 shortcuts · checked Nov 2026 · Source: Microsoft docs

In Visual Studio Code, press Cmd+Option+↑ (Mac), Ctrl+Alt+↑ (Windows), Shift+Alt+↑ (Linux).

What else uses Ctrl+Alt+↑? · What else uses Alt+Shift+↑?

More VS Code shortcuts: multi-cursor and selection

ActionMacWindowsLinux
Insert cursor belowOptionCmd↓CtrlAlt↓AltShift↓
Undo last cursor operationCmdUCtrlUCtrlU
Insert cursor at end of each selected lineOptionShiftIAltShiftIAltShiftI
Select current lineCmdLCtrlLCtrlL
Select all occurrences of current selectionShiftCmdLCtrlShiftLCtrlShiftL
Add selection to next find matchCmdDCtrlDCtrlD
Select allCmdACtrlACtrlA
Expand selectionCtrlShiftCmd→AltShift→AltShift→
Shrink selectionCtrlShiftCmd←AltShift←AltShift←
Column (box) selection downOptionShiftCmd↓CtrlAltShift↓CtrlAltShift↓

All 138 VS Code shortcuts