In multi-cursor editing, the same text is entered at multiple points at once.
To add insertion points (cursors/selections) to the editor, do any of the following:
Add an insertion point at a location: Click or drag the point while pressing the Command key.
Add insertion points at the same column in multiple continuous lines: Drag the area while pressing the Option key (rectangular selection).
Add an insertion point just above or below the current insertion point: Press Control-Shift-↑ or Control-Shift-↓.
To remove one of the multiple insertion points:
Command-click the insertion point to remove.
To end the multi-cursor editing mode, do one of the following:
Click or drag somewhere in the editor without modifier keys by setting a single insertion point at the location.
Press the Esc key and all insertion points except the top one are discarded.
Note: Multi-cursor editing currently doesn’t work with text entry that requires user selection after typing, such as Japanese. In such cases, multi-cursor editing ends automatically after you type, and the text is entered only at a single insertion point.