Real-Fruit-Snacks208 downloadsScope your vault to a specific folder, effectively treating it as a nested sub-vault.
Scope your entire Obsidian vault down to a single folder — file explorer, search, graph, tags, and backlinks all respect the boundary.
A big master vault is great — until you need to spend the afternoon inside one project. Nested Vaults lets you pick any folder and treat it as a temporary vault of its own, without opening a second vault window or losing your plugins, themes, and settings.
While a Sub-Vault is active, the file explorer shows only that folder (plus anything you whitelist), core Search and the Graph views carry a path: filter for it, the tag pane shows only tags used inside it, backlinks from outside it are hidden, and opening an outside file is blocked with a notice. Leave the Sub-Vault from the status bar or ribbon and everything returns instantly — nothing about your files is ever changed to make the scoping happen.
path:"<sub-vault>" filter is added to core Search, Graph, and local graph queries, and cleanly removed when you leave. Your own query text is left untouched. Toggleable in settings.#project/idea) matched by their full path.Attachments or Templates that stay visible and accessible in every Sub-Vault, so embeds and templates never break.Requires Obsidian 1.4.10 or newer.
Install BRAT, then add Real-Fruit-Snacks/obsidian-nested-vaults as a beta plugin.
Download main.js, manifest.json, and styles.css from the latest release into <your-vault>/.obsidian/plugins/nested-vaults/, then enable Nested Vaults under Settings → Community plugins.
| Command | Description |
|---|---|
| Set Active Sub-Vault | Pick a folder to scope the vault to |
| Clear Active Sub-Vault | Return to the full vault |
| Open Scoped Quick Switcher | Quick switcher limited to the active Sub-Vault |
| Setting | Default | Description |
|---|---|---|
| Active Sub-Vault | (empty) | The folder currently scoped to; supports autocomplete |
| Auto-move new notes into the Sub-Vault | Off | Move notes created outside the Sub-Vault into it, updating links |
| Scope Search and Graph to the Sub-Vault | On | Add and maintain the path: filter in Search and Graph queries |
| Global allowed folders | Attachments, Templates |
Folders that stay visible and accessible in every Sub-Vault |
Nested Vaults never moves, locks, or rewrites your files to create the boundary. The file explorer, tag pane, and backlinks are scoped by tagging out-of-scope items with a CSS class that hides them; Search and Graph are scoped by inserting a path: token into their query inputs; and out-of-scope files are kept out of view by intercepting file-open events. Disable the plugin (or leave the Sub-Vault) and your vault is exactly as it always was.
Because the boundary is a view-level convenience rather than a permission system, other plugins that read the vault directly can still see the whole vault.
nested-vaults/
├── manifest.json Plugin metadata
├── versions.json Plugin version → minimum Obsidian version map
├── main.js Plugin code (single-file CommonJS, no build step)
├── styles.css One rule: hide elements marked out-of-scope
└── docs/ Documentation site and artwork
main.js, with no framework or bundler.fileManager.renameFile so links to the moved note are updated.Released under the MIT License.