Advanced Exclude

unlisted

by mnaoumov

Enhances the Excluded files setting bringing gitignore syntax.

51 starsUpdated 29d agoMIT
View on GitHub

Advanced Exclude

Buy Me a Coffee GitHub release GitHub downloads

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 gitignore syntax.
  • .obsidianignore file for manual editing.
  • Support ignore patterns from .gitignore file.
  • Reuse existing Files and links > Excluded files setting 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:

  1. Ensure you have the BRAT plugin installed and enabled.
  2. Click Install via BRAT.
  3. An Obsidian pop-up window should appear. In the window, click the Add plugin button 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

Buy Me A Coffee

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

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.