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

  • 2.0.1
    1.4.2
  • github.​com
  • github.​com
  • 3 years ago
  • 2 hours ago
  • 12 years ago

Installs

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

Readme

Source
raw.​githubusercontent.​com

Tab Filter

Tests

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 4.

For Sublime Text 2 and 3 support, please see release 1.4 - still also avalable via Package Control, though no longer actively updated with new features.

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

From within Sublime Text, go to the Preferences > Browse Pacakges menu; this should open up your file browser at the correct location for where your copy of Sublime text stores all packages.

From within this folder you can install…

Using git

You can install within the Packages folder opened by running the following from a terminal / console:

$ git clone git://github.com/robinmalburn/sublime-tabfilter.git 'Tab Filter'

Without git

To install without git, download the source code as a zip file and extract the contents to into a subfolder of the Packages folder called Tab Filter

Usage

Key Bindings

Tab Filter comes with two built in commands:

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

Standard

This command searches and filters across all open windows and groups, and has a default keymap on Linux, OSX and Windows of: alt+shift+p

Active Group

This command searches and filters just within the active group when using a split layout in Sublime Text. The default keymap for this command on Linux, OSX and Windows is: alt+shift+a

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 settings 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.

Preview Currently Selected Entry

By default, Tab Filter only focuses the tab if it gets selected. To always focus/preview the currently highlighted entry, set preview_tab to true. Note that this currently only works with a single group layout (no split window).

Group Caption

By default, Tab Filter only shows information about the filename being worked on, and optionally some meta information available via Path and Captions mentioned above. With this feature, for users who make heavy use of multi-pane layouts, you can now include an indicator of what group a tab belongs to, meaning you can easily see which pane a tab belongs in and differentiate between similarly named files open across different panes. Set show_group_caption to true to enable the feature. Note: Even if enabled, the feature will only display if there is more than one group, otherwise it's a fairly pointless caption to distract from the relevant information, since every group would be Group: 1 anyhow.

License

Released under MIT license.