Hoist Note
A launchbar button that toggles hoisting on 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.jscreates (or updates) a launchbar launcher of typecommand, bound to Trilium's built-intoggleNoteHoistingcommand. - Clicking the button toggles hoisting on the active note: hoisted notes return to root, unhoisted notes become the hoisted root.
Installation
Install via Trilium Addon Manager or import the ZIP from Releases.