You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Obsidian can open multiple vaults. But obsidian-mode can treat only one vault
that is specified by obsidian-specify-path in the init.el.
I can make use of obsidian-* functions for multiple vaults after I run M-x obsidian-specify-path manually.
But it would be convenient if it is done automatically. I mean that when I am editing some markdowns of vault A, M-x obsidian-* are applied to vault A. And if I am editing some
markdowns of vault B, M-x obsidian-* are applied to vault B.
I'm not sure this is a feasible feature. But it would be great if I can opt in/out this feature as I want.
Thanks,
The text was updated successfully, but these errors were encountered:
This will execute the obsidian-specify-path automatically when you open a file in the vault.
However, to be sure that you can have two different buffers that belongs to two differents vaults opened at the same time, you should also need to reapply the local variables each time you switch to an already opened buffer.
This hook should just do the trick:
Hello
Obsidian can open multiple vaults. But
obsidian-mode
can treat only one vaultthat is specified by
obsidian-specify-path
in theinit.el
.I can make use of
obsidian-*
functions for multiple vaults after I runM-x obsidian-specify-path
manually.But it would be convenient if it is done automatically. I mean that when I am editing some markdowns of vault A,
M-x obsidian-*
are applied to vault A. And if I am editing somemarkdowns of vault B,
M-x obsidian-*
are applied to vault B.I'm not sure this is a feasible feature. But it would be great if I can opt in/out this feature as I want.
Thanks,
The text was updated successfully, but these errors were encountered: