Sublime Forum

Find to selection

#1

Hi,

I’d like to convert all my matches for find in file to a selection.

Say i am looking for <field name="(^"]+)" i would like to select all matches and copy/paste them into a new file. For this to work I need a command / keyboard shortcut that transforms the search hits to a multiple selection.

0 Likes

#2

“Find All” button on the find panel already select all hits.
So in order:
ctrl+f
type <field name="(^"]+)"
Click “Find All” button
ctrl+c
ctrl+n
ctrl+v

0 Likes

#3

Thank you

Click “Find All” button maps to “alt+enter” also when using incremental search even though there’s no find all button when using incremental search very nice!

0 Likes