# Vault Zones/Filters/Focuses (alternative to nested vaults)

**URL:** <https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553>\
**Category:** Feature requests\
**Tags:** graph-view, ui-ux\
**Created:** [December 28, 2020, 12:48pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553 "2020-12-28T12:48:00Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![vincer](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/v/919ad9/32.png) [@vincer](https://forum.obsidian.md/u/vincer)\
**Post date:** [December 28, 2020, 12:48pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/1 "2020-12-28T12:48:01Z")

</div>

Ive been reading about nested vaults wich accomplish a lot of what i want but arent supported and have their own issues; most of what i saw suggests/requests support for then but i think its the wrong way to tackle it (and involves a lot more of headache for coding, memory and such). Heres a different proposal:

### Use case or problem

Handling specific contexts that are too large inside an large and growing main vault- like specific projects- creates a lot of noise; Creating another vault is an way, but isolates then entirely, and nesting vaults allow their coexistance on a macro level but have traps and bugs

### Proposed solution: Zones/Filtering

The best solution i can imagine is allowing this type of division within a vault itself- not by making obsidian treat folders as vaults, but by allowing vaults to have larger contexts that can be easily focused - cleaning up the interface, links and graph automatically for ease of use.

calling then Zones for now for clarity, but other names could apply (areas, levels, macro-filters, idk)

A zone would work as a form of tag, where any notes/files could be assigned to it.  
Along then a view/toggle called **Focused View** would filter an vault by zone:

- Focused View: clicking or double clicking a Zone would filter out anything but what pertains to a zone. A collored ribbon could appear on top of the window written _Focused View: [Zone Name]_ with an X button for closing the focused view, returning to normal

- Folder as Zone: right clicking a folder to create a zone quickly, automatically assigning everything thats put into it as pertaining to that zone- and unsassigng everything removed from it.

- Expansion Level: a setting (perhaps a dragabble bar in the suggested ribbon on top of the window) would expand how much focused the view is; On 0(or 1) it shows only whats assigned as a Zone (in a folder-as-zone as well as tagged-to-zone); Increasing it one level would show notes/files that are directly linked to whats in the zone but arent assigned to it thenselves, increasing it more would show links from those notes and so on (but by that point it would defeat the purpose)

- Additional Features: views/workspaces and perhaps even themes, plugins and settings could be assigned to zones. For example opening a zone setting would show the same setting windows but with every option like it is on default (and labeled as default), toggling then differently would customize the focused view for that zone alone.

At first i tought of suggesting just some ease of use filtering, but the more i tought about it the less tags made sense. If done by tags it would require to assign every note for separation (without ease of use of dropping in bulk on a folder), folder-as-zones would replicate many of the usecases people have for nested vaults (hosting, using with other apps) - plus being open for additional features in the future, like customizing their view

**Ui/Ux suggestions:**

- Zones tab: just like file explorer, starred and search, an tab for zones.  
upon clicking it shows all files per zone, zones appearing as folds(\>) like folders; Every vault would have 1 default zone called master/root/macro/full (or No-Zone)

- zone pill: if a note is assigned to a zone the zone name appears on the file like a collored tag- or on the title bar; Clicking on it would open the focused view to that zone.

- context menu, folders: option to turn a folder into a zone (folder-as-zone)

- Colored folders(zones): on the file explorer folders who are treated as zones have a distinct color or icon alongside then

- ribbon: way of showing users the vault is being filtered/focused in a zone; button for closing and settings if applicable.

#### Alternative: Focused View for Folders

Disregard zones- would be implementing such focused view for folders, any folder as is. No need to have a special name for zones, focusing would be achievable by right clicking on a folder to focus, much simpler.

However i personally think being able to tag files in different folders as also being a zone would be much more flexible and usable

### Related feature requests (optional)

> [@Nested vaults - usage and risks](https://forum.obsidian.md/t/nested-vaults-usage-and-risks/6360):
>
> The developers strongly advise against any use of nested vaults, warning that the program is not designed to cope with them and things may break. (Nested vaults are vaults located within another vault. As with any folders, It is possible to have many layers of vaults.) They do however, have some uses: They allow the same vault to be open in more than one window. They allow sub-folders (aka nested vaults) to use a different CSS to other vaults, and to have its own saved workspace etc. They ma…

> [@Make Folders Vault Floor for Obsidian Publish](https://forum.obsidian.md/t/make-folders-vault-floor-for-obsidian-publish/6778):
>
> I organize the notes I want to publish by keeping them in one folder within my main vault. I’d love there be some way I can set that folder as first level of organization instead of the vault itself. Currently my published website shows folder name → notes in the file explorer, when Instead I just want it to show notes.

> [@Nested Vaults (vault within a vault)](https://forum.obsidian.md/t/nested-vaults-vault-within-a-vault/7366):
>
> I’d like to discuss the potential implementation of nested vaults as an obsidian feature. I’m aware of the warnings against using nested vaults. In this post I present my personal reasons and use case of nested vaults. I might be missing certain reasons from the developer’s side to avoid implementing this feature, so I’m happy to learn why it might not be a good idea too. Have you searched for an existing request? This is the most important post I keep in mind when nesting vaults. [Nested v…](https://forum.obsidian.md/t/nested-vaults-usage-and-risks/6360)

> [@Obsidian Publish Nested Vault](https://forum.obsidian.md/t/obsidian-publish-nested-vault/7339):
>
> I’d like to know thoughts on nested vault when it comes to obsidian publish. I’m aware that there is advice against nesting a vault within a vault. I make sure to follow the advice form this post, in order to prevent my nested vault to mess up. [Nested vaults - usage and risks - #3 by madz00](https://forum.obsidian.md/t/nested-vaults-usage-and-risks/6360/3)My obsidian publish set up In my case my obsidian publish notes are a sub-folder inside my vault. I only have one vault and I wouldn’t like to separate my obsidian publish notes into a whole new vault,…

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [December 30, 2020, 2:56pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/2 "2020-12-30T14:56:52Z")

</div>

Hey @vincer I honestly think this is an excellent idea, I’ve talked alot about nested vaults with @Dor who’s opinion on this would be super vaulable.

And even though for now nested vaults have allowed me to deal with my workflow without any issues (so far) nested vaults are not beginner friendly and having something like “zones” as you propose them is a great idea!

I’m on board and support this awesome idea, thanks for the contribution!

---

<div class="post-metadata">

**Author:** ![vincer](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/v/919ad9/32.png) [@vincer](https://forum.obsidian.md/u/vincer)\
**Post date:** [December 30, 2020, 7:25pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/3 "2020-12-30T19:25:46Z")

</div>

Testing nested vaults now without issue, but then I’ve been mostly working on top level stuff currently. What I’m afraid of is when I start going deep on a project (thus working on the lower level vault) and mistakenly creating a page by a empty link that already exists on the macro level.  
What happens if there’s pages with the same name on different vaults, or worse the same internal id? Anyone had any experience with that?

---

<div class="post-metadata">

**Author:** ![santi](https://forum.obsidian.md/user_avatar/forum.obsidian.md/santi/32/93240_2.png) [@santi](https://forum.obsidian.md/u/santi)\
**Post date:** [December 30, 2020, 11:28pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/4 "2020-12-30T23:28:48Z")

</div>

Nested vaults still havn’t given me many issues, but to be honest I usually just stay in my root vault and filter things by search folders and tags so I don’t find my self opening a nested vault that often.

I also don’t make much use of block id’s mostly becuase I like my plain text notes to be compatible with other tools like spacemacs, so I don’t have much experience with id issues but I can see how it could be an issue

---

<div class="post-metadata">

**Author:** ![ggs](https://forum.obsidian.md/user_avatar/forum.obsidian.md/ggs/32/8334_2.png) [@ggs](https://forum.obsidian.md/u/ggs)\
**Post date:** [September 7, 2021, 6:50pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/5 "2021-09-07T18:50:40Z")

</div>

I think much of the needs fulfilled by nested vaults and in your suggestion could be accomplished much more simply for the devs by just augmenting workspaces.

It’d be nice if, in any workspace other than the default workspace, the graph and link auto-completion don’t show any notes that haven’t already been opened or linked to in the workspace.

I.e. if I switch to a new workspace, the graph would be empty, and typing brackets wouldn’t show any autocomplete results. The files would show up, however, in the file open modal as usual, so you can search for any file in the vault

The file browser would have a toggle to only show files in the workspace, and when toggled off you could bulk add multiple files to the workspace without having to open all of them.

---

<div class="post-metadata">

**Author:** ![Dor](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/d/5fc32e/32.png) [@Dor](https://forum.obsidian.md/u/Dor)\
**Post date:** [September 8, 2021, 8:02pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/6 "2021-09-08T20:02:43Z")

</div>

I’m neutral about workspaces or zones, but I don’t see sufficient overlap to see them as an alternative to nested vaults. I suppose it depends on what people use them for. I think the request should be presented as a feature on its own rather than comparing it with nested vaults

I also see nothing complicated or demanding about nested vaults. They require no change in Obsidian’s design or function and just work as is. They are simply data structures, and prepared filters. I find them just as useful outside Obsidian.

---

<div class="post-metadata">

**Author:** ![CawlinTeffid](https://forum.obsidian.md/user_avatar/forum.obsidian.md/cawlinteffid/32/82899_2.png) [@CawlinTeffid](https://forum.obsidian.md/u/CawlinTeffid)\
**Post date:** [September 22, 2021, 2:02am UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/7 "2021-09-22T02:02:21Z")

</div>

For me, Focused View For Folders would be enough. My use case is a vault for projects, with each project in a folder. Projects may sometimes connect but are mostly separate. The fuller Zone concept that could also use tags and other things appeals to me, but I don’t have any use in mind yet.

It would be nice to be able to add multiple folders to a focus (but usually I would only need 1).

To expand on “Focused View: clicking or double clicking a Zone would filter out anything but what pertains to a zone” — I’d expect this to affect:

- Autocompletion of links and tags
- File list view
- Search
- Quick open
- Starred items (maybe?)
- Maybe other things I’m forgetting?

Should consider what happens when you follow a link to a note outside of the focus.

EDIT: There is a request just for folders: [[Feature] Focus mode in file explorer](https://forum.obsidian.md/t/feature-focus-mode-in-file-explorer/14798) — EDIT TO THE EDIT (2024-09-07): Found an older request for just folders and merged the other one into it: [Focus (Hoist) a folder in the vault](https://forum.obsidian.md/t/focus-hoist-a-folder-in-the-vault/287)

---

<div class="post-metadata">

**Author:** ![777](https://forum.obsidian.md/letter_avatar_proxy/v4/letter/7/dbc845/32.png) [@777](https://forum.obsidian.md/u/777)\
**Post date:** [October 14, 2024, 5:10pm UTC](https://forum.obsidian.md/t/vault-zones-filters-focuses-alternative-to-nested-vaults/10553/8 "2024-10-14T17:10:20Z")

</div>

I just want to add that this filter should apply to shown tags, switcher results and explorer files etc. If you right-click a folder when a zone is active to do a batch operation, this operation should apply only to the subset of files pertaining to the zone, rather than all the files in the actual filesystem directory.

I hope we can see this soon.
