ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Tabs​Shortcuts

by ejoubaud ST2/ST3

Sublime Text plugin with commands and shortcuts to close tabs.

Details

  • 2013.12.24.23.41.13
  • github.​com
  • github.​com
  • 6 years ago
  • 6 minutes ago
  • 6 years ago

Installs

  • Total 2K
  • Win 1K
  • OS X 645
  • Linux 380
Dec 9 Dec 8 Dec 7 Dec 6 Dec 5 Dec 4 Dec 3 Dec 2 Dec 1 Nov 30 Nov 29 Nov 28 Nov 27 Nov 26 Nov 25 Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25
Windows 0 0 1 0 0 1 0 2 0 0 1 0 0 1 1 0 0 0 0 1 1 1 0 0 0 0 0 1 0 1 1 0 3 1 0 0 0 0 2 1 0 0 0 1 0 1
OS X 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 1 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 1 0 0 0 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

SublimeTabsShortcuts

Adds the tabs controls already available on right-click in the Command Palette and assigns them keyboard shortcuts:

  • Close Other Tabs: Cmd+Shift+W on Mac, Ctrl+Shift+W on Windows and Linux
  • Close Tabs to the Right: Cmd+Alt+W on Mac, Ctrl+Alt+W on Windows and Linux

tabs_shortcuts

Of course, the shortcuts are overridable (Preferences > Packages Settings > TabsShortcuts > Key Bindings - User or TabsShortcuts: Key Bindings in the Command Palette).

Installation

With Package Control

Coming soon…

Without Package Control

Clone (or download and unzip) this into your Packages directory (Browse Packages in Sublime's Command Palette).

Support

So far this has only been tested on Sublime 3 for Mac, but it should also work for Sublime 2, and on Linux and Windows as well.

Thanks

The Python snippets are from that StackOverflow QA. Feel free to up them if you like this plugin.