TabStack
Alternative MRU tab switching for Sublime Text with a quick panel live preview
Details
Installs
- Total 4
- Win 2
- Mac 1
- Linux 1
| Jul 20 | Jul 19 | Jul 18 | Jul 17 | 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 | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Windows | 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 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Mac | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
| Linux | 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 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 |
Readme
- Source
- raw.githubusercontent.com
TabStack
TabStack is a Sublime Text (build 4100+) package for switching between open tabs using an MRU-style stack. It keeps tab order per window and previews tabs in the quick panel before committing the switch. It also preserves tab ordering across sessions and supports multiple selections. When closing a tab, TabStack restores the previous selection.
Installation
TabStack is available on Package Control.
Open the Command Palette,
select Package Control: Install Package
and find “TabStack” in the list.
Usage
The key bindings are:
ctrl+tabctrl+shift+tabctrl+upctrl+down
These are not configurable
because the release detection of the ctrl key is hard-coded.
Press one of those shortcuts to open the tab stack quick panel.
Use the same keys to move through the list while it is open.
Release ctrl to commit the selected tab.
Press ctrl+escape to cancel.
Platform Support
TabStack supports Linux, Windows, and macOS. It polls the native key state APIs to detect modifier release events.
On Linux, detection uses the X11 key state API,
so Sublime must run under X11 or XWayland
(for example with GDK_BACKEND=x11).
Note that this has not been reported to work yet.
A native Wayland session exposes no way to poll global key state (a deliberate security restriction in the protocol), and Sublime Text does not provide a key-release API to plugins. See also the related upstream issue.
Caveats
Support for sheets that are not backed by text, i.e. HTML sheets and image sheets, cannot properly be monitored before ST build 4205 due to missing API support.