Auto Collapse Inactive Folders

pending

by SomehowItWorks

Automatically collapse all folders except the one containing the active file.

Updated 26d agoMITDiscovered via Obsidian Unofficial Plugins
View on GitHub

Auto Collapse Inactive Folders (Obsidian Plugin)

⚠️这个插件的代码是由Google Gemini协助生成的。如果你很难接受AI生成的程式,请谨慎下载。
⚠️The coding of this plugin is assisted by Google Gemini. If Ai programming upsets you, please think twice before installing it.

顾名思义,这个简单的插件可以帮你自动折叠文件列表中不在活跃状态的目录。
As the name suggests, this simple plugin auto collapses the folders you aren't currently working on.

auto-collapse-folders demo

如果你主要依赖文件列表浏览笔记,可能会想:“反复展开目录岂不是更累”? 但如果你有别的方式在笔记间切换,这个插件或许有助于更好地展示当前笔记的位置。
If you mostly rely on the file list to navigate, you might think:"isn't it more tedious to do all the expanding repeatly?"
However, in case that you got other ways to jump between notes, this plugin might help on showing the location of the current note.

For plugin developers

Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.