BanksySan
BanksySan

Reputation: 28500

Multiple cursors from find result

I have a regex in my find box and want a cursor at each found location (I'm actually trying to delete a load of new lines in paragraphs but there's far to many to do by hand).

How can I get a cursor at each location that matches [\w]$?

Upvotes: 9

Views: 2580

Answers (3)

gekh
gekh

Reputation: 2124

If you want to search for a simple string, you may select it right in editor and use Find All:

Windows/Linux: Alt+F3

Mac: ⌃+⌘+G

Upvotes: 1

lcharbon
lcharbon

Reputation: 3298

The shortcut Opt + Enter should work if you're looking to stay on the keyboard.

Upvotes: 5

Keith Hall
Keith Hall

Reputation: 16065

Click the "Find All" button at the far right of the find panel, and ST will select all the matches. search box with find all circled

Upvotes: 12

Related Questions