Sublime Forum

Cycling through tabs

#1

The keyboard shortcuts to cycle through tabs (Ctrl+Tab and Ctrl+Shift+Tab), which I use and abuse in all my projects - seem to only be controlled by history. More often than not I have groups for a small amount of files that I navigate on, and when I go from one group to another I have no idea where I am in the history, and while I’d expect Ctrl+Tab to go to the tab directly to the right, it goes to somewhere that’s unpredictable to me ('cause god knows I’m not gonna memorize the history of every single group I’m working on at the same time).

I’ve looked for a while but I can’t seem to find a configuration option to change this behaviour, is there a way?

0 Likes

#2

Use the keybindings you want:

[code] { “keys”: “ctrl+pagedown”], “command”: “next_view” },
{ “keys”: “ctrl+pageup”], “command”: “prev_view” },

{ "keys": "ctrl+tab"], "command": "next_view_in_stack" },
{ "keys": "ctrl+shift+tab"], "command": "prev_view_in_stack" },[/code]

or inverse it in your own user keybindings file.

0 Likes

#3

Oh, I feel like an idiot. Thank you very much.

0 Likes