How do I do vertical selection like <option>+mouse drag in Sublime?

I can easily select a block of text and add stuff on each row, like this:

image

But it’s not available in Cursor. May I ask how can I activate this feature if Cursor has it?

Thanks!

1. Adding Cursors on Multiple Lines (Manual)

  • Windows/Linux: Alt + Click on each location where you want a cursor.
  • Mac: Option + Click on each location.

2. Add Cursors Above/Below

  • Windows/Linux:
    • Add cursor above: Ctrl + Alt + Up Arrow
    • Add cursor below: Ctrl + Alt + Down Arrow
  • Mac:
    • Add cursor above: Cmd + Option + Up Arrow
    • Add cursor below: Cmd + Option + Down Arrow

3. Select Multiple Lines Using Keyboard

  • Windows/Linux: Shift + Alt + Down Arrow or Shift + Alt + Up Arrow
  • Mac: Shift + Option + Down Arrow or Shift + Option + Up Arrow

4. Select All Occurrences of a Word

  • Windows/Linux: Ctrl + Shift + L
  • Mac: Cmd + Shift + L

5. Add Next Occurrence of Selection

  • Windows/Linux: Ctrl + D
  • Mac: Cmd + D

6. Undo Last Cursor Addition

  • Windows/Linux: Ctrl + U
  • Mac: Cmd + U

7. Select All Occurrences of Find Match

  • After finding a word using Ctrl + F (or Cmd + F on Mac), press Alt + Enter to select all instances of the search term.
1 Like

Thanks for the reply.

The " Adding Cursors on Multiple Lines" is cool, but still not as good as sublime’s +mouse drag. For instance, if I have 20 lines, I have to click 19 times, or press / 19 times.

drag using middle click.
its vscode native feature