sublime_text icon indicating copy to clipboard operation
sublime_text copied to clipboard

Add a "switch to an OS tab by index" command

Open KGOH opened this issue 11 months ago • 1 comments

Problem description

I would like to have an ability to switch between OS tabs by index.

Preferred solution

A command that accepts a tab number as an argument, that I'll be able to assign in a .sublime-keymap.

Alternatives

ST already provides prev_os_tab/next_os_tab commands to manage OS tabs, but these make switching process too long if I have more than 3 tabs.

Additional Information

There's the select_by_index {"index": 1} command for switching between ST tabs by number. I think that an ability to switch to an OS tab by it's number would be a nice complement to the existing commands set. I'm using ST on MacOS.

KGOH avatar Mar 05 '24 11:03 KGOH

Also, a way to display OS tab index would be helpful in conjuction with this feature

KGOH avatar Mar 05 '24 11:03 KGOH