TL;DR: Considerations in favour of multiple vaults not already mentioned above:
-
having Safe Mode on in the main vault while making use of community plugins within nested vaults—though I’m sure this is meager protection against a compromised plugin;
-
clarity of maintaining separate git
repositories for different categories of notes, though the repositories could simply reside in non-overlapping subdirectories of a single vault, or overlapping repositories managed using .gitignore
as per @quinncom’s setup.
I’ve been using nested symlinked vaults on macOS for some months and am happy to report no data loss. I hope this means Obsidian is close to supporting nesting and symlinks, rather than that I’m lucky.
I used to keep my Zettel in a subdirectory of my single vault, but moved them into a new vault for reasons already mentioned above: performance and keeping a clean Zettelkasten vault.
The Zk vault is symlinked into the main vault so that for as long as Obsidian can handle it (so far so good), I can work in the main vault and freely wikilink Zettel from anywhere (though Zettel are only ever wikilinked to other Zettel). When this is distracting (e.g. as described by @Lithou), I can open the Zk vault separately. (A small shell script invokes rsync
to keep the contents of .obsidian/themes
synched.)
Besides the Zk vault, I now have a couple other nested vaults in which I’ve enabled community plugins (mostly to make use of Dataview), whereas I prefer to keep Safe Mode on in the main vault.
I’ve also symlinked in some directories which I don’t intent to open as Obsidian vaults. The purpose of these is to maintain separate git
backups and revision histories; not dissimilar to @quinncom’s setup, though I’ve excluded the nested vaults by symlinking them in rather than using .gitignore
. (By default, git
doesn’t follow symlinks, which is convenient in this context.) I prefer to keep the vaults unnested in the filesystem because I can clearly see the various repositories which make up my main vault.
Relative symlinks are preferable to absolute ones, especially if one is synching across devices. For example, given these directories:
/users/ada/vaults
/users/ada/vaults/main
/users/ada/vaults/nested
one would want to:
cd /users/ada/vaults/main
ln -s ../nested nested
not:
ln -s /users/ada/vaults/nested /users/ada/vaults/main/nested
in case, for example, one is synching to another device which doesn’t use the directory structure /users/ada
, or vaults
is renamed Vaults
.