- JavaScript 89.5%
- HTML 7.1%
- Shell 3.4%
|
|
||
|---|---|---|
| .forgejo/workflows | ||
| .gitignore | ||
| background.js | ||
| build.sh | ||
| LICENSE | ||
| manifest.json | ||
| options.html | ||
| options.js | ||
| README.md | ||
tobu-folders
Thunderbird add-on: keyboard jumps to the Inbox, Archive, Sent, Drafts, Trash or Junk of the account you're in, to the Inbox of any account, and to favorite folders and tags. Tobu (跳ぶ) is Japanese for "to jump".
Works on its own with key combinations, or with
tbkeys-lite
for key sequences like g i. Thunderbird 128 or later.
Install
Download the .xpi from
the latest release,
then in Thunderbird: Add-ons > gear > Install Add-on From File. Updates don't
install themselves; download and install each new release the same way.
Shortcuts
Defaults, changeable in the add-on's settings or in Add-ons > gear > Manage Extension Shortcuts:
| Shortcut (macOS: Control+Shift) | Goes to |
|---|---|
| Alt+Shift+I | Inbox of the current account |
| Alt+Shift+A | Archive |
| Alt+Shift+S | Sent |
| Alt+Shift+D | Drafts |
| Alt+Shift+X (macOS: Control+Shift+T) | Trash |
| Alt+Shift+J | Junk |
| (none) | Inbox of account 1 to 5 |
| (none) | Unified Inbox |
| (none) | Favorite folder 1 to 5 |
Thunderbird 153 and later swallow Ctrl+Shift+S and Cmd+Shift+S before add-ons see them (bug 2091683), so the Sent shortcut doesn't work on macOS until that is fixed. Pick another key for it in the settings.
On Windows, Alt+Shift with a menu letter (F, E, V, G, M, N, T, H) opens that menu instead, so avoid those letters when picking shortcuts.
With tbkeys-lite
tbkeys-lite can send a message to another add-on. Add lines like these to its main window keys:
"g i": "memsg:tobu@folders:inbox",
"g a": "memsg:tobu@folders:archives",
"g s": "memsg:tobu@folders:sent",
"g d": "memsg:tobu@folders:drafts",
"g t": "memsg:tobu@folders:trash",
"g x": "memsg:tobu@folders:junk",
"g 1": "memsg:tobu@folders:inbox@1",
"g f": "memsg:tobu@folders:inbox@Fastmail",
"g u": "memsg:tobu@folders:inbox@unified",
"g v": "memsg:tobu@folders:favorite@1",
"g l": "memsg:tobu@folders:tag@gmail-forward"
A target is role or role@account:
- role:
inbox,archives(orarchive),sent,drafts,trash,junk(orspam),templates,outbox - account: left out for the account of the open folder, a position in the
folder pane (
1), an account name (Fastmail), orunified
Favorite folders and tags take a position or a name instead:
favorite@1,favorite@Japanese Class, orfavorite@Inbox - Fastmailwhen more than one favorite has the same nametag@1ortag@Important, for the tag folders Thunderbird shows under Tags in the folder pane
Folders are found by their role in Thunderbird, not by name. An account without a folder for that role does nothing; the reason is logged to the console (Tools > Developer Tools > Error Console).
Build
./build.sh
Writes tobu-folders-<version>.xpi. Install it through Add-ons > gear >
Install Add-on From File, or load manifest.json as a temporary add-on via
Tools > Developer Tools > Debug Add-ons.
Release
Bump version in manifest.json, commit and push, then tag and push the tag:
git tag v0.2.2
git push origin v0.2.2
Forgejo Actions builds the xpi and publishes it as a release. The run stops if the tag doesn't match the manifest version.
Every push to main also replaces the nightly pre-release. It keeps the
manifest version; its release notes name the commit.
License
GPL-3.0-or-later. See LICENSE.