Sublime Forum

Switching between tabs in non-standart layout

#1

recently i’ve hit one aspect of tab switching using keyword i haven’t experienced before, and that is:
while using any of the layouts except ‘Single’ and you reach the last tab in the current view and press [cmd+alt±>] the next tab that will be selected is not the first in the current view but instead the first in the next view. same thing is valid when going backward.
that obviously was intentional but caught my attention. i was somehow expecting the opposite to be the default behaviour (tabs switching to be constraint to current view only).
is there any way to change that bahaviour right now?
if not, is there any chance to expose option for switching between those 2 modes?
anyone else felt the same way?

0 Likes

#2

+1 for adding this functionality / preference as it does not currently seem to exist. Something like:

// When enabled, the Goto: Next File and Previous File commands // will be constrained to the current focused group. "cycle_group_tabs": false,

which would ensure that the “next_view” and “previous_view” commands would be constrained by their current groups

0 Likes

#3

i actually wrote tiny command which does exactly that.
you can find it here https://gist.github.com/3009871
i agree it might be usefull as an config option though.

0 Likes