Skip to content
Sublime Text 3 package to close old, unused and unrelated tabs
Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitattributes
.gitignore
Context.sublime-menu
Default (Linux).sublime-keymap
Default (OSX).sublime-keymap
Default (Windows).sublime-keymap
Default.sublime-commands
Main.sublime-menu
README.md
lessTabs.py
lessTabs.sublime-settings

README.md

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.

Something went wrong with that request. Please try again.