Advanced Exclude
unlistedby mnaoumov
Enhances the Excluded files setting bringing gitignore syntax.
Advanced Exclude
This is a plugin for Obsidian that enhances the Excluded files setting bringing gitignore syntax.
Obsidian has Files and links > Excluded files setting, but it is not as useful, because the excluded files are still present in the Files pane, appear in Backlinks pane, etc.
The plugin adds the following features:
- Configure ignore patterns using
gitignoresyntax. .obsidianignorefile for manual editing.- Support ignore patterns from
.gitignorefile. - Reuse existing
Files and links > Excluded filessetting in string/regexp format.
[!WARNING]
The plugin makes Obsidian behave like the ignored files do not exist. This might affect features like
Obsidian Sync,Obsidian Publish, etc.Ensure you configured the plugin correctly to avoid data loss.
Installation
The plugin is not available in the official Community Plugins repository yet.
The Obsidian team decided to not accept this plugin to the repository.
Beta versions
To install the latest beta release of this plugin (regardless if it is available in the official Community Plugins repository or not), follow these steps:
- Ensure you have the BRAT plugin installed and enabled.
- Click Install via BRAT.
- An Obsidian pop-up window should appear. In the window, click the
Add pluginbutton once and wait a few seconds for the plugin to install.
Debugging
By default, debug messages for this plugin are hidden.
To show them, run the following command in the DevTools Console:
window.DEBUG.enable('advanced-exclude');
For more details, refer to the documentation.
Support
My other Obsidian resources
See my other Obsidian resources.
License
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.
