Repository navigation
0.2.0 - native source menu
0.2.0 — native source menu
Right-clicking (or long-pressing) a virtual entry now behaves like right-clicking the real folder or note, instead of a tiny plugin-only menu.
Added
- Native source context menu — a virtual row hands its real
TAbstractFileback to the file explorer'sonFileContextMenu(), so core builds the menu it always builds:New note,New folder,Rename,Move,Make a copy,Deleteall operate on the source, not on the virtual row. - Plugin items
Reveal real location,Copy real pathand (on a mount root)Remove this mountare appended to that native menu. If the internal view method is unavailable, a built-in fallback menu is used.
Fixed
- On Obsidian 1.14+ the context menu could close itself after ~500 ms: core anchors the menu to the real (often off-screen) tree row and auto-dismisses it when that row is not visible. The row association is now hidden while the menu is built and restored immediately afterwards.
Compatibility
- Obsidian 1.6.0+, desktop and mobile. Verified against 1.14.5 and earlier 1.8.x.
Install
Download main.js, manifest.json and styles.css below into <vault>/.obsidian/plugins/virtual-mount/, then reload Obsidian.