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
  • 2 hours ago
  • 11 years ago

Installs

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