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
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 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20
Windows 0 0 0 0 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0
Mac 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 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 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

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.