Hyunyoung Park53 downloadsFold and unfold lines with long-press, clicks, and the mouse wheel, keeping the line under the mouse in place.
Fold and unfold lines in the Obsidian editor with long-press, clicks, and the mouse wheel.
# (clicking there places the caret as usual). Each step unfolds the shallowest visible folded level, or folds the deepest visible unfolded level, within that line and its children; the last fold step folds the line itself. Nothing happens on a line with no children (its parent and siblings are left alone). The wheel never scrolls there (Shift+wheel still scrolls sideways).Folding needs Obsidian's Fold indent and Fold heading settings (Settings → Editor) turned on.
From Obsidian: Settings → Community plugins → Browse, search for "Editor UX Fix".
Manually: copy main.js, manifest.json, and styles.css from the latest release into <vault>/.obsidian/plugins/editor-uxfix/, then enable the plugin in Settings → Community plugins.
npm install
npm run build