Question

I am finding I often will multi-select a bunch of single points (ctrl+click on the point) in Sublime Text 2, get to the end of the items I want to multi-select and then discover one in the middle of them all that should not have been selected.

I then have to cancel the multi-select (esc key) and start my selection all over.

Is there a way to deselect a single multi-select point? I looked all over the net and experimented with the traditional opposite items such as ctrl+shift+click on the point I want to deselect. No joy.

Thanks in advance for your help!

Was it helpful?

Solution

Try this one:

alt + Middle Mouse Button

this feature/shortcut is called subtract from selection.

OTHER TIPS

In OSX +opt+shift+ left click removes an added multi-cursor.

On Linux, if you are using a touchpad, try using: Alt + Shift + Right-Click.

If you are on OSX, you need to disable drag_text.

Edit your user preferences, i.e. super + , and add this:

"drag_text": false

Otherwise, you can select just like before - ctrl + click (command + click), and to deselect an instance you use alt + click (command + shift + click).

To deselect any text region (this way also deselects any included cursor point(s)):

On Windows

Alt+Shift+Right_Mouse_Button (Drag-Select what you need to deselect)

OR: Alt+Middle_Mouse_Button (Drag-Select what you need to deselect)

On OSX

Command+Shift+Option+Left_Mouse_Button (Drag-Select what you need to deselect)

OR: Command+Shift+Middle_Mouse_Button (Drag-Select what you need to deselect)

This works on SublimeText 2/3.

In case you want to deselect a single cursor point (not a region), you can do the same and drag-select any region that includes that cursor point. [Example: My Wor[Cursor]d. To deselect the cursor you can drag-select on: r[Cursor]d (or any region including the cursor) and it will automatically deselect the cursor point.]

Source: Column Selection

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top