Sublime Forum

Incremental find and multiple selections

#1

Hi, it would be nice if incremental find works with multiple selections. Below is an example (| indicates the caret). In this case, I want to select all the the first & in each line. How can I do this in a easy and quick way. Regular expression would work. Incremental find with multiple selections, however, would be a nice solution. In the example, an incremental find for & just selects the next & for each selection. Wouldn’t that make sense?

|this is some text & 8.2 &
|this is other text and much more & 1.5 &
|this & 5.4 &
|this is & 2.5 &
|this is some & 1.4 & \

0 Likes

#2

Enable Vintage mode, make your selections, then hit ‘Esc f &’.

I don’t know of any way of doing it inside Sublime proper.

0 Likes

#3

This plugin, despite it’s not exactly what you want, is really helpful for this:


You can use it to move you carets before & and select them using standard ST command.

0 Likes