Search...Search plugins and themes...
⌘K
Sign in
  • Get started
  • Download
  • Pricing
  • Enterprise
  • Account
  • Obsidian
  • Overview
  • Sync
  • Publish
  • Canvas
  • Mobile
  • Web Clipper
  • CLI
  • Learn
  • Help
  • Developers
  • Changelog
  • About
  • Roadmap
  • Blog
  • Resources
  • System status
  • License overview
  • Terms of service
  • Privacy policy
  • Security
  • Community
  • Plugins
  • Themes
  • Discord
  • Forum / 中文论坛
  • Merch store
  • Brand guidelines
Follow us
DiscordTwitterBlueskyThreadsMastodonYouTubeGitHub
© 2026 Obsidian

Nested Vaults

Real-Fruit-SnacksReal-Fruit-Snacks208 downloads

Scope your vault to a specific folder, effectively treating it as a nested sub-vault.

Add to Obsidian
Nested Vaults screenshot
  • Overview
  • Scorecard
  • Updates4
Nested Vaults — scope your vault to a single folder

Scope your entire Obsidian vault down to a single folder — file explorer, search, graph, tags, and backlinks all respect the boundary.

Documentation · Changelog · Report an issue


Overview

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.

Features

  • File explorer scoping — folders and files outside the active Sub-Vault are hidden. Parents of the Sub-Vault and of allowed folders stay visible so everything remains reachable.
  • Search and Graph scoping — a 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.
  • Tag pane filtering — only tags used by notes inside the Sub-Vault are shown, with nested tags (#project/idea) matched by their full path.
  • Backlink filtering — backlinks from notes outside the Sub-Vault are hidden, both in the backlinks pane and in the linked-mentions section at the bottom of notes.
  • Open blocking — following a link to a file outside the Sub-Vault shows a notice and turns the tab into an empty tab instead of opening the file.
  • Global allowed folders — whitelist folders like Attachments or Templates that stay visible and accessible in every Sub-Vault, so embeds and templates never break.
  • Scoped quick switcher — a quick switcher that searches only inside the active Sub-Vault, with paths shown relative to it.
  • Auto-move new notes (opt-in) — notes created outside the Sub-Vault are moved into it automatically, with links to the moved note updated.
  • Status bar and ribbon — the status bar shows the active Sub-Vault (click it to leave), and a ribbon action leaves it too. Renaming the scoped folder follows along; deleting it clears the scope.

Installation

Requires Obsidian 1.4.10 or newer.

Community plugins (recommended)

  1. Open Settings → Community plugins → Browse.
  2. Search for Nested Vaults, then Install and Enable.

BRAT (for the latest pre-release)

Install BRAT, then add Real-Fruit-Snacks/obsidian-nested-vaults as a beta plugin.

Manual

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.

Getting started

  1. Enter a Sub-Vault — right-click any folder in the file explorer and choose Set as Active Sub-Vault, or run Set Active Sub-Vault from the command palette.
  2. Work — the explorer, search, graph, tags, and backlinks are now scoped to that folder.
  3. Leave — click the Sub-Vault name in the status bar, or the Leave Active Sub-Vault ribbon icon, and the whole vault comes back.

Commands

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

Settings

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

How the scoping works

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.

Architecture

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
  • No build step — a single hand-maintained CommonJS main.js, with no framework or bundler.
  • Event-driven — scoping refreshes on vault, metadata, and layout events plus targeted pane observers, debounced so rapid changes coalesce into one pass.
  • Safe writes — the only file operation the plugin can perform is the opt-in auto-move, which uses fileManager.renameFile so links to the moved note are updated.
  • No network, no telemetry — the plugin never talks to the network.

License

Released under the MIT License.

HealthExcellent
ReviewPassed
About
Scope your vault to any folder and work inside it as a temporary vault while keeping your themes, plugins, and settings. Restrict file explorer, search, graph, tag pane, and backlinks to that folder, block opening outside files, and whitelist folders like attachments and templates.
FoldersSearchTags
Details
Current version
1.1.0
Last updated
2 weeks ago
Created
Last month
Updates
4 releases
Downloads
208
Compatible with
Obsidian 1.4.10+
Platforms
Desktop, Mobile
License
MIT
Report bugRequest featureReport plugin
Author
Real-Fruit-SnacksReal-Fruit-Snacksreal-fruit-snacks
GitHubreal-fruit-snacks
  1. Community
  2. Plugins
  3. Folders
  4. Nested Vaults

Related plugins

Tag Wrangler

Rename, merge, toggle, and search tags from the tag pane.

Badges

Add inline badges/callouts to notes.

Simple Note Review

Simple, customizable plugin for easy note review, resurfacing and repetition.

Cards View

Displays a card view of your notes.

Improved Random Note Pro

Open a random note based on filters like folders, tags and properties.

Smart Connections

Find related notes and excerpts while writing. Your AI link building copilot displays relevant content in graph + list view. A local embedding model powers semantic search. Zero setup. No API key.

Omnisearch

Intelligent search for your notes, PDFs, and OCR for images.

Quick Switcher++

Enhanced Quick Switcher, search open panels, and symbols.

TagFolder

Show tags as folder.

Multi Properties

Add properties to multiple notes at once. Either right-click a folder or select multiple notes and right-click the selection.