Skip to content

Multi-caret editing

Place several cursors at once and edit in many places simultaneously — type, delete, and select at every caret together. This makes repetitive edits across a file quick and precise.

Working with multiple carets

  • Add additional carets to create several insertion points at once.
  • Anything you type, delete, or select is applied at every caret simultaneously.
  • Multi-selection lets you operate on several separate selections together.

Multi-caret editing pairs naturally with selecting multiple occurrences of a term and changing them all in one pass.

Auto-pair & smart indentation also work at every caret: typing a bracket pairs it at each, Enter keeps each line's indentation, and a single Undo reverts the whole multi-caret edit.