Skip to the main content

Visual Studio Code

Shift a line downward

OptionDown arrow

Mac Desktop app Visual Studio Code default keymap

Practice this

To shift a line downward in Visual Studio Code, press Alt + Down arrow. On a Mac, press Option + Down arrow instead.

Where it works: Code editor

Every documented variant

Variants of this shortcut
System Environment Keys
Mac Desktop app OptionDown arrow
Windows Desktop app AltDown arrow

Where this comes from

Visual Studio Code key bindings

Documentation checked on 2026-09-11. That is a documentation review, not a test run inside the application.

Report a correction