Home Download Buy Blog Forum Support

Tabbing through multiple text blocks

Tabbing through multiple text blocks

Postby mizwo on Thu Apr 19, 2012 1:06 pm

Hi,
the possiblity to select multiple text chunks as if I would select files in a file browser is great, but is there also a way to "tab" through them? Like tabbing through all the parameters in a snippet or super+G (win F3) after a search.

Thanks
mizwo
 
Posts: 12
Joined: Fri Oct 28, 2011 12:31 pm

Re: Tabbing through multiple text blocks

Postby mizwo on Mon Apr 22, 2013 12:30 am

I just found a semi satisfactory solution:

Version 1:

    select string
    super+ctrl+g to select all occurrences of that string
    super+F2 to bookmark all instances of cursor
    now cycle through occurrences via F2 and be in edit mode instantly

Version 2:

    search string
    alt+enter to select all occurrences of that string
    super+F2 to bookmark all instances of cursor
    now cycle through occurrences via F2 and be in edit mode instantly

Both versions misuse the bookmarks tool, so clearing the bookmarks before is necessary to omit bookmarks that are not related to the search.

Perhaps there's a more elegant approach to do this?

Edit:

Version 3 (as proposed by deiga in #sublimetext chat)

    search string
    alt+enter to select all occurrences of that string
    now cycle through occurrences via super+g and be in edit mode instantly

Thanks deiga, Version 3 is what I needed.
mizwo
 
Posts: 12
Joined: Fri Oct 28, 2011 12:31 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot] and 18 guests