Hoist Note
Adds a launchbar button to quickly toggle hoisting of the current note.
Overview
Hoisting focuses the Trilium note tree on a single note, hiding everything outside it. This addon creates a persistent Hoist Note button in the launchbar so you can toggle hoisting on and off with one click without navigating to the menu.
How It Works
- At startup,
setupButtons.jsregisters a launchbar button of typescriptpointing tohoistNote.js. - Clicking the button runs
hoistNote.js, which checks whether the current note is already hoisted: - If it is, hoisting is cleared (returns to root).
- If it isn't, the current note becomes the hoisted root.
Installation
Install via Trilium Addon Manager or import the ZIP from Releases.