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

Tabs​Shortcuts

by ejoubaud ALL

Sublime Text plugin with commands and shortcuts to close tabs.

Details

  • 2013.12.24.23.41.13
  • github.​com
  • github.​com
  • 12 years ago
  • 2 hours ago
  • 12 years ago

Installs

  • Total 3K
  • Win 2K
  • Mac 814
  • Linux 500
Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22
Windows 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 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.