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
  • 10 minutes ago
  • 6 years ago

Installs

  • Total 2K
  • Win 1K
  • OS X 637
  • Linux 362
Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7 Sep 6 Sep 5 Sep 4 Sep 3 Sep 2 Sep 1 Aug 31 Aug 30 Aug 29 Aug 28 Aug 27 Aug 26 Aug 25 Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2
Windows 0 0 0 2 2 0 0 0 2 1 0 1 1 0 1 0 0 1 1 0 2 1 0 0 0 0 2 0 0 0 1 3 1 0 0 0 0 0 0 2 0 0 0 0 0 2
OS X 0 0 0 0 0 0 0 0 0 0 1 0 1 2 1 1 0 0 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 2 0 1 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 0 0 1 0 2 0 0 0 0 0 0 0 0 1 0 0 0 1 0 0 0 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.