chenfeng4k downloadsControls file indexing by managing dot prefixes on files/folders to truly hide/exclude them, providing a .gitignore-like experience.
An Obsidian plugin that controls indexing by adding or removing dot prefixes on files and folders, providing a pattern-based ignore workflow for large vaults.
File Ignore renames files and folders on disk. Review the rename preview before applying changes.
I built File Ignore while using Obsidian to write in a Next.js blog repository. Indexing its /node_modules directory made the vault slow to open.
Because Obsidian skips dot-prefixed hidden files and folders during indexing, File Ignore lets you toggle dot prefixes on matching paths to exclude them from indexing while keeping them on disk.
When your vault contains code repositories, build artifacts, or large non-note directories:

.) to matching paths, hiding them from Obsidian's index.File Ignore supports basic path-matching patterns:
test.md/readme.mdtemp/*test/ (e.g., /_build/, /cache*/)Note: Patterns are simple path rules, not full .gitignore specifications.
After configuring rules in the plugin settings:
. prefix to matching files and folders.. prefix from matching files and folders.Open Obsidian and navigate to Settings → Community plugins → File Ignore to configure ignore rules.
Pair File Ignore with the Show-Hide-Files plugin if you need to view or manage dot-prefixed files directly inside Obsidian's file explorer.
.obsidian/, .git/, and .trash/.foo.md and .foo.md exist), the rename aborts and writes an audit log instead of overwriting existing data.[file-ignore][audit] entry in the developer console.[file-ignore][audit] entries for batch details, skipped paths, and errors.If you encounter issues or have suggestions, please open an issue on the GitHub repository.
Built by chenfeng. Alongside Obsidian plugins, I develop focused Mac utilities, including Command Reopen, which restores minimized windows on Cmd+Tab.
You can also support development on Buy Me A Coffee.
This project is licensed under the MIT License. See the LICENSE file for details.