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

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.