I often find myself selecting a block of text, doing some find/replace, and then wanting to do a second find/replace. Is there a way to “Repeat Selection”? Soft Undo doesn’t work here, since of course it’ll undo the replace too.
Repeat Selection?
iamntz
#2
Not sure if is default or it’s a custom bind, but on my config, ctrl+d automatically select current word, then next word and so on.
0 Likes
bizoo
#3
Bookmarks store the selection, maybe it could help ?
Just select a block (only one block, no multiple selection) and hit ctrl+f2 to add a bookmark.
If you hit f2 latter the same block is selected again.
Don’t think there’s anything else in ST2 core to store a selection. A plugin is probably required.
0 Likes