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

Less Tabs

by webArtisan ST3

Sublime Text 3 package to close old, unused and unrelated tabs

Details

  • 2013.08.02.10.13.04
  • github.​com
  • github.​com
  • 11 years ago
  • 1 hour ago
  • 11 years ago

Installs

  • Total 10K
  • Win 7K
  • Mac 2K
  • Linux 1K
Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11
Windows 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 1 0 1 0 0 0 0 0 0 0 0 0
Mac 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

Less Tabs for sublime text 3

Are you tired of closing tabs manually ?

Do you want to close all old tabs with one command ?

After installing the plugin, press ctrl + alt + c and all the tabs that wasn't modified in the last 30 minutes (customize from settings) will be closed.

Files with unsaved changes will not be closed.

Files that were visited in the last minute will not be closed. (customize from settings)

Features

  • Close old and unused tabs with a simple shortcut.

  • By setting the value of the setting value “close_on_open_new” to true, the plugin will execute the closing command when a new tab is opened.

  • Close unrelated tabs to the open project.

  • Close unrelated tabs to the directory of the current open tab (tab with focus).

  • Close unrelated tabs to a user input directory.

Installation

Now available through Package Control!

The easiest method is through Package Control. Open the command palette with CtrlShiftP (Windows/Linux) or ShiftP (OSX) and type pci or packconin or whatever you like to get Package Control: Install showing. Click or hit Enter, type in less or less tabs … and then hit Enter.

Manual install

Clone or download this repo to your Packages folder.

To easily open Packages folder, open sublime text then open the following menu Preferences -> Browse Packages....

You can always clone the repo with git

git clone git://github.com/webArtisan/lessTabs.git

Usage

The default shortcut for closing tabs is ctrl + alt + c.

The default shortcut for closing unrelated tabs to the open project is ctrl + alt + u + p.

The default shortcut for closing unrelated tabs to the directory of the current open tab is ctrl + alt + u + t.

The default shortcut for closing unrelated tabs to a user input directory is ctrl + alt + u + d.

There is also a command for each feature in the command palette, all you need to do is open your command palette and start typing Less tabs

Stay tuned

I'm working on another package called moreTabs, that will help you open closed tabs in a much easier way.

Credit

I got the idea at the first place from this plugin TidyTabs https://github.com/bradleyboy/TidyTabs-Sublime.

His plugin isn't sublime text 3 compatible so i made this one.

License

Licence Creative Commons

© 2012-2013 webArtisan web.artisan89@gmail.com.

This is free software. It is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License. Feel free to use this plugin in your own work. However, if you modify and/or redistribute it, please attribute me in some way, and distribute your work under this or a similar license. A shout-out would be appreciated.