Sublime Forum

How to select some character with all the multi-selections simultaneously?

#1

For example, if I got the following multi selection: ( | is the cursor/caret )

    \item `|Some' more mores' text.
    \item `|Some more text' more's texts'.
    \item `|Some more more text's text.

How could I make the cursor/carets to move to the first matching ' single quote, starting on each caret, resulting on the following state?

    \item `Some|' more mores' text.
    \item `Some more text|' more's texts'.
    \item `Some more more text|'s text.

I thought about using Ctrl+F, but it starts searching from my last cursor, and results in only this selection state:

    \item `Some' more mores' text.
    \item `Some more text' more's texts'.
    \item `Some more more text|'s text.

Keywords: multiselections, multi-selections, multicursors, multi-carets, multicarets

0 Likes

Find and Replace loses selection
#2

I use the “Select Until” plugin from here:

It accepts regular expressions too which is really useful.

For additional selection related functions I also recommend these two plugins:


1 Like

#3

Thanks! It is an wonderful package.

0 Likes