FR: Add option to automatically hide a note that's closed
Gewerd-Strauss opened this issue · 4 comments
Hello,
The idea behind this plugin is quite useful in theory, but it creates an additional issue:
Every time an active note is revealed, its corresponding folder tree up to the root directory is expanded - obviously.
However, I think that this makes it even harder to use the Files
-pane because finding anything in it now involves scrolling and manually re-folding any and all folders previously unfolded.
Instead, I'd suggest that the plugin does the following:
- Whenever a note is opened - by whatever means, focus on it in the
Files
-pane. This expands the respective notes' folder structure down to the level of the note. - (Re-)Fold all other currently unfolded folders in the
Files
-pane, thus keeping the file overview clean.
I hope the idea I want to put forth here is clear.
Thank you.
Sincerely,
~Gw
+1 vote for this, especially now that the only plugin with that feature was deleted from Github 🙁
https://web.archive.org/web/20230721020232/https://github.com/1C0D/Obsidian-Reveal-File-in-explorer
A bit late, but here is a hotfix that might be useful to others, leveraging the plugins Collapse All
by Nathonius and Commander
by jsmorabitoo and phibr0:
This macro will first collapse the entire file-tree, and then expand the path to the currently focused file.
Thank you, it works! :)
I mean it is not exactly what this FR would accomplish, but I find myself rarely having to use the file-explorer itself to open something - and for those times this is a completely suitable solution.