Lost in the ocean of your opened tabs, no worries Tabby is there to help you out. Tabby is designed to help you efficiently manage, close and restore tabs with Vim-inspired shortcuts and custom filtering options.
- Press
F10to activate Tab Mode. - While in Tab Mode, you can quickly perform actions on tabs using single key shortcuts.
w— Close the active tab.c— Close all tabs in the active tab group.j— Go to the previous tab.k— Go to the next tab.a— Move the current tab to the left.d— Move the current tab to the right.- Numbers
1-9— Quickly switch to the tab at the corresponding index.
-
Press
fwhile in Tab Mode or run command> Tabby: Filter Tabs in Active Tab Groupto filter tabs in the active tabgroup. Enter a pattern into the prompt to keep tabs matching the pattern open and close the rest. -
Wildcard Patterns:
*matches any sequence of characters. E.g*test*matches any tab containing the wordtest._matches exactly one character. E.g___matches any tab having exactly three characters.
-
Path-Based Filter:
- Starts with
?(e.g.,?myfolderor?D:/Desktop/myproject/myfolder) — retains tabs whose file paths match the specified exact absolute or exact relative path based on the current project root. Adding*at the end of the path (e.g,?myfolder*) will also retain tabs within all the subdirectories of the specified path.
- Starts with
-
Index-Based Filters:
- Single Index:
1— keeps only the tab at index 1 (the first tab) open. - Range:
3:5— keeps tabs from index 3 to 5 (inclusive) open. - Start Range:
3:— keeps tabs from index 3 to the last tab open. - End Range:
:4— keeps tabs from the first up to index 4 open.
- Single Index:
-
File Name containing only Numbers:
- Starts with
\(e.g.,\123) — matches tabs with the exact filename '123'.
- Starts with
-
Combined Filters: You can input multiple filters separated by commas. For example:
__t*.py, 1:4, \123, ?myfolderThis would keep open all tabs that:
- Match the
.pyfile extension and whose third character istor - Are within the index range 1:4 or
- Match the file name
123or - Reside exactly within the folder
myfolderin project root (tabs within subdirectories excluded)
- Match the
- Quickly access recently closed tabs from the "Tab History".
- Press
hin Tab Mode or run command> Tabby: Open Tabs from Historyto quickly restore closed tabs based on the patterns described above. - Press
uin Tab Mode to undo restore tabs closed recently (works only for tabs closed/filtered using Tabby).


