sublimehq / sublime_text

Issue tracker for Sublime Text
https://www.sublimetext.com
811 stars 39 forks source link

Allow reordering tabs using keyboard #3410

Open ghost opened 4 years ago

ghost commented 4 years ago

https://github.com/sublimehq/sublime_text/issues/3405#issuecomment-643521285

I want an option to move the current tab one position to the left or to the right using some key combination. There are some plugins that allow this, but they do not work without internet access. I want a built-in option to allow this feature.

keith-hall commented 4 years ago

Why do you claim plugins that add this functionality don't work without Internet access? https://packagecontrol.io/packages/MoveTab doesn't seem to require an active Internet connection to function? Or is your issue with the installation of plugins?

deathaxe commented 4 years ago

Just for the record:

A fork of MoveTab can be found at https://github.com/deathaxe/MoveView

It provides the command move_to_neighboring_index which matches ST's current command names for moving or navigating between tabs and uses the same scheme of arguments.

The command is bound to ctrl+shift+pageup and ctrl+shift+pagedown inspired by the existing bindings ctrl+pageup and ctr+pagedown which are used to navigate.

It also provides an InputHandler to let you select the desired target position directly.

ghost commented 4 years ago

Why do you claim plugins that add this functionality don't work without Internet access?

I remember installing a year ago the plugin you mentioned and it worked fine, but when I disabled internet connection it stopped working. I asked about it in the official forum and wbond said that ST works differently when there is no internet connection. I guess that "works differently" means that some features are unavailable, including plugins.

keith-hall commented 4 years ago

any link to such a discussion? is it possible you misread it? - see this quote

deathaxe commented 4 years ago

The plugins mensioned here do not depend on internet access. If this is not the case maybe your ST binary got tampered?