You can use Alt + LMB by default. See the documentation for more info
VS Code supports multiple cursors for fast simultaneous edits. You can add secondary cursors (rendered
thinner) with Alt+Click
. Each cursor operates independently based on
the context it sits in. A common way to add more cursors is with
Ctrl+Alt+Down
or Ctrl+Alt+Up
that insert cursors below or above.
If you'd like to change the modifier key for applying multiple cursors
to Cmd+Click
on macOS and Ctrl+Click
on Windows and Linux, you can do
so with the editor.multiCursorModifier
setting. This lets users coming
from other editors such as Sublime Text or Atom continue to use the
keyboard modifier they are familiar with.
The setting can be set to:
ctrlCmd
- Maps to Ctrl
on Windows and Cmd
on macOS.
alt
- The existing default Alt
.