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

Tab Filter

by Robin Malburn ALL

A simple Sublime plugin to filter tabs open in the current window

Details

Installs

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

Readme

Source
raw.​githubusercontent.​com

Tab Filter

Tab Filter is a Sublime Text plugin for quickly switching between open tabs. Invoking Tab Filter brings up a “GoTo Anything”-like quick input showing your opened tabs for the current window, allowing you to quick filter on file names to rapidly switch amongst existing tabs.

Compatibility

This plugin is compatible with Sublime Text 2 and 3.

Installation

Package Control

Tab Filter is also available through Package Control. To install, bring up the Command Palette (brought up using ctrl+shift+p on Linux / Windows or cmd+shift+p on OS X) and run the Package Control: Install Package command - now search for and select Tab Filter.

Manual

Linux

Using git:

$ cd ~/.config/sublime-text-2/Packages/
$ git clone git://github.com/robinmalburn/sublime-tabfilter.git 'Tab Filter'

Without git:

Download the repository as a zip file and extract the sublime-tabfilter-master folder. Copy the contents of this folder to: ~/.config/sublime-text-2/Packages/Tab Filter

OSX:

Using git:

$ cd ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/
$ git clone git://github.com/robinmalburn/sublime-tabfilter.git 'Tab Filter'

Without git:

Download the repository as a zip file and extract the sublime-tabfilter-master folder. Copy the contents of this folder to: ~/Library/Application\ Support/Sublime\ Text\ 2/Packages/Tab Filter

Windows

I don't currently run Windows, so not sure where the packages live on that platform. The plugin will work on Windows, though, so if anyone wants to contribute the directories that apply to Windows XP, Vista, 7, or 8, please feel free.

Usage

Key Bindings

Tab Filter comes with the following default keymap for Linux, OSX and Windows: alt+shift+p

This can be overriden via the keybindings options in Preferences > Package Settings > Tab Filter > Key Bindings - User

Command Palette

Tab Filter can also be activated via the Command Palette (brought up using ctrl+shift+p on Linux / Windows or cmd+shift+p on OS X) and typing Tab Filter

Settings

Additional configuration settins for Tab Filter can be altered via Preferences > Package Settings > Tab Filter > Settings - User

Captions

Tab Filter can be configured to show or hide additional captions relating to the state of each open tab. The captions include: Current File, Unsaved File, Unsaved Changes and Read Only. Captions are shown by default, but this behaviour can be changed by setting the show_captions setting to false.

Path/Filename Filtering

By default, Tab Filter only shows the basename of open tabs (where they're really files and not just buffers, of course). This configuration can be changed to instead show and therefore allow filtering by the full, non-common path of the file instead by changing the include_path option to true.

License

Released under MIT license.