Automatically widen note tree by moving your mouse. A convenient widget to navigate through notes with long titles and deep level notes.
When the tree on the left panel has a lot of long titles, it is not convenient to view. This script can automatically increase the width of the left panel when the mouse moves to the left.
Increase the setting: when moving to the left, the mouse needs to hover for a while, which can prevent accidental mouseEnter.
Create a code note of type JS Frontend with the contents of trilium-left-panel-auto-zoom.js and the label #widget
Three modes are supported :
- Automatically zoom in on the left panel when the mouse moves to the navigation bar. This is the default mode.
- Automatically zoom in on the left panel when the mouse moves to the left panel.
- Automatically zoom in on the left panel when the shortcut key
alt+s
is pressed. When the left panel is hidden, the zoom operation automatically changes to show or hide the left panel.