Skip to main content
Dan Rodney/1 min read

Topic 2D: VS Code: Multiple Cursors & Selections

Multi-Cursor & Selection

Multiple Cursors

Option-Click (Mac) or Alt-Click (Windows) places cursors anywhere.

Multi-Line Cursor

Cmd-Option (Mac) or Ctrl-Alt (Windows) + Up/Down Arrow.

Discontinuous Selections

Hold Option (Mac) or Alt (Windows) while dragging.

Return to Single Cursor

Press Escape (esc) at any time.

Build Web Development Skills at Noble Desktop

Noble Desktop's Full-Stack Web Development Certificate teaches the modern web stack — VS Code is the editor used throughout.

Expand your coding efficiency with our Visual Studio Code tutorial covering topics like multiple cursors and selections, and detailed instructions for Mac and Windows users.

Multiple Cursors & Selections

  • Place multiple cursors: Option–Click (Mac) or ALT–Click (Windows)
  • Multiple selections (discontinuous): Hold Option (Mac) or ALT (Windows) while dragging.
  • To make a single discontinuous selection area across multiple lines: Hold Option–Shift (Mac) or ALT–Shift (Windows) while dragging.
  • Create a multi-line cursor: Hold Cmd–Option (Mac) or CTRL–ALT (Windows) and then hit the Up or Down Arrow keys.
  • If you have multiple selections or cursors, you can make edits: delete, type, paste, etc. Press Escape (esc) to return to one cursor.