Sublime Forum

Goto Anything with multiple groups (columns)

#1

Hi. First of all let me say, I absolutely love ST2 for use on a Mac. It is amazing the way that it feels totally native despite that it is written in Python and works cross-platform. Outstanding work!

After about 2 months of use, I finally broke down and bought a license. So, given my legal license, I now have moral license to “bitch”. Just kidding. :smile: But seriously…

I love the idea of Goto Anything, however, I can’t figure a way to make it to work for what would seem to be a common workflow if you have multiple “groups” (or at least, in my case, columns). I am typically using it in 2-column mode with multiple tabs open in each. I’ll often have notes and outlines and such in one column, and in the other column, have the document files that I’m working on. In other words, one column for reference, the other for production. I want to be able to quickly jump from tab to tab in either column using Goto Anything. While working on some code, I’d like to be able to type cmd+p “brainstorm” and for the focus to change to the other column and bring up that file (e.g., “idea_brainstorm.txt”) if it was already open in that column. However, now, your Goto Anything is limited to the currently active column (or am I not using this right?). Of course, I can type [ctrl+<group #> then cmd+p] or [ctrl+<group #> then option+cmd+<left/right>], but that requires a mental context switch to consider which column you need to be in as well as multiple key combos, which avoiding that kind of process is the whole point of Goto Anything.

So, here is my question: Rather than associate Goto Anything with the current column, is it possible to configure ST2 to associate Goto Anything with the entire application or at least a whole window? Alternatively, am I using the feature incorrectly to get the functionality that I’m requesting?

0 Likes

#2

I am having the exact same issue as you. I thought it would be trivial to have a keyboard shortcut to show all the tabs in a common window even if they are in separate groups, but so far I have not found a solution for this. Kinda makes the name “Go To Anything” a bit of a misnomer doesn’t it. A work around I have found is to add the name of the files inside their body (or use some already existing unique text inside the files) and then use the Search Across all Files feature (Ctrl+Shift+F) to search by the unique text/file name. this searches across all files, even the ones in different groups, and allows you to quickly jump to the tab that you need from the results page.

0 Likes