Advanced Exclude

by mnaoumov
5
4
3
2
1
Score: 57/100

Description

The Advanced Exclude plugin extends the built in excluded files setting with gitignore style matching and a clearer way to hide parts of a vault. It can read rules from .obsidianignore, import patterns from .gitignore, reuse the native excluded files setting and optionally hide folders whose contents are fully excluded. That makes the file pane, backlinks and related views behave more like those files do not exist, which is much broader than a visual filter.

Reviews

No reviews yet.

Stats

69
stars
17,029
downloads
3
forks
106
days
1
days
25
days
1
total PRs
0
open PRs
1
closed PRs
0
merged PRs
12
total issues
0
open issues
12
closed issues
318
commits

Latest Version

a month ago

Changelog

  • chore(deps): sweep caret-ranged dependencies to latest
  • fix(deps): move to obsidian-integration-testing 11 and obsidian-dev-utils 96.5.2
  • fix(deps): drop the brace-expansion file: override that breaks a clean install
  • docs: point plugin-directory links at community.obsidian.md

Full Changelog: https://github.com/mnaoumov/obsidian-advanced-exclude/compare/4.1.1...4.1.2

README file from

Github

Advanced Exclude

Buy Me a Coffee GitHub release GitHub downloads Coverage: 100%

Obsidian's Files and links > Excluded files setting does less than its name suggests: excluded files still sit in the Files pane, still turn up in Backlinks, still appear in search. They are de-emphasized, not excluded.

This plugin makes them behave as though they are not there, and lets you say which ones with gitignore syntax — the pattern language you already know — from a .obsidianignore file, your existing .gitignore, or Obsidian's own setting.

[!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.

Demo vault

The documentation is a demo vault. Every feature has a note that explains what it does and why you would want it, with folders already in place to hide and un-hide.

Start reading here — it is plain markdown, so it works on GitHub with nothing installed.

A copy of the vault ships with every release. You can access it via any of the following:

  1. Running the Advanced Exclude: Open demo vault command.
  2. Downloading advanced-exclude-demo-vault.zip from the Releases. It unzips into a single advanced-exclude-demo-vault-<version> folder.
  3. Browsing its source in demo-vault/ in this repository.

What it does

  • Exclude with gitignore syntax — a folder, an extension, a path, from a .obsidianignore file you can edit by hand. 01 Exclude a folder
  • Whitelist instead of blacklist, including the negation trap that catches most people: once * ignores everything, folders must be re-included with !*/ before any !file rule can reach inside them. 02 Whitelist with negation
  • Choose where patterns come from and how hard they hide — your .gitignore, Obsidian's own Excluded files setting, and how completely an ignored file disappears. Both extra sources are off by default, so a fresh install changes nothing until you turn one on. 03 Exclude mode and sources
  • Hide folders left empty by exclusion, cascading up through parents whose whole subtree went away. Genuinely empty folders stay visible. 04 Settings

Installation

The plugin is available in the official Community Plugins 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.

Changelog

All notable changes to this project will be documented in the CHANGELOG.

Contributing

Contributions are welcome — see CONTRIBUTING to get set up.

Support

My other Obsidian resources

See my other Obsidian resources.

License

© Michael Naumov

Similar Plugins

info
• Similar plugins are suggested based on the common tags between the plugins.
Auto Note Mover
5 years ago by faru
This is a plugin for Obsidian (https://obsidian.md).
Waypoint
5 years ago by Idrees Hassan
Obsidian plugin that gives you the power to generate dynamic MOCs in your folder notes. Enables folders to show up in the graph view and removes the need for messy tags!
Folder Focus Mode
4 years ago by grochowski
Focus file explorer on chosen folder and its files and subdirectories, while hiding all the other elements.
Hidden Folder
4 years ago by ptrsvltns
obsidian plugin for hidden folder
Create Note in Folder
4 years ago by Mara-Li
Set a folder in settings and get directly a command to create a note in it. Use this with QuickAdd/Button to get more pratical things :D
Advanced Merger
3 years ago by Anto Keinänen
Folder notes
3 years ago by Lost Paul
Create notes within folders that can be accessed without collapsing the folder, similar to the functionality offered in Notion.
Auto Template Trigger
3 years ago by Numeroflip
An obsidian.md plugin, to automatically trigger a template on new file creation
Style Importer
3 years ago by Josh Rouwhorst
Obsidian.md plugin to import a stylesheet from a URL to the snippets folder.
Remove Empty Folders
3 years ago by fnya
Remove Empty Folders for Obsidian
Note Companion Folder
3 years ago by Chris Verbree
A Obsidian Plugin providing a way to associate a folder to a note
Folder Periodic Notes
2 years ago by Andrew Heekin
Auto Folder Collapse
2 years ago by Dario Casciato
A plugin for Obsidian that automatically collapses all child folders when you collapse a parent folder. This helps keep your file explorer organized and clutter-free.
Print
2 years ago by Marijn Bent
Print your notes directly from Obsidian
Folder Note
6 years ago by xpgo
Plugin to add description note to a folder for Obsidian.
Vault Changelog
6 years ago by Badr Bouslikhin
An Obsidian plugin to maintain a changelog of recently edited notes
Quick Explorer
5 years ago by PJ Eby
Perform file explorer operations (and see your current file path) from the Obsidian.md title bar
Symlink Creator
2 years ago by Tobias Heidler
A plugin for Obsidian that allows the creation of symlinks - for Windows, OS X and Linux only!
Fold Properties
2 years ago by James Alexandre
Adds Fold/Unfold Properties Function to Folder Context Menu
Hierarchical Backlinks
2 years ago by Jason Motylinski
Plugin which displays backlinks as a tree structure based on file paths
Folder Canvas
2 years ago by Nancy Lee
Generate a canvas view of your folder structure
Folder Links
2 years ago by Stefan Rausch
Obsidian Plugin that enables using links to folders.
create folder notes with dropdown
2 years ago by Sturdy Shawn
Simple Archiver
2 years ago by Mike Farr
An Obsidian plugin that enables you to quickly archive a single note or an entire folder of notes.
Generate Timeline
a year ago by Shanshuimei
An obsidian plugin to generate timelines from tags, folders, files or metadata automatically. 根据标签,文件夹,文件或者属性自动生成时间轴的插件。
Hide Index Files
a year ago by d7sd6u
Hides folder notes from the file explorer
Crosslink Advanced
a year ago by d7sd6u
Ftags commands toolkit
Folder Navigator
a year ago by wenlzhang
An Obsidian plugin that allows you to quickly navigate to folders in your vault using fuzzy search.
Course Module Loader
a year ago by Sebastian Kamilli
Downloads and unzips course module zip files from a URL into a specified vault folder, skipping existing files.
File Explorer Reload
4 months ago by mnaoumov
Obsidian Plugin that reloads the file explorer files list
Hide Folders
4 months ago by jonasdoesthings
Toggle the visibility of folders in the Obsidian.MD file navigator based on name-patterns
Store
2 months ago by shimeoki
Manage your notes within a single folder.
ICOR for Life - Interface
25 days ago by Paperless Movement S.L.
The vault's chrome in one place: hide the ribbon and Obsidian's own controls, and give any folder a colour, an icon and a label. Writes no CSS; the INKLINE theme draws it. Part of the ICOR for Life suite.
Mapa neuronal
10 days ago by Felipe Córdova
A graph that explains itself: your Obsidian vault as a layered neural map, with the reason each note links to the next.