obsidian-advanced-uri icon indicating copy to clipboard operation
obsidian-advanced-uri copied to clipboard

URI for close vault

Open Nebucatnetzer opened this issue 4 years ago • 4 comments

Would it be possible to add a URI for closing a vault? Currently it's not really possible to switch between vaults. One workaround I could think of would be to close the current vault first before opening it.

Nebucatnetzer avatar Aug 03 '21 11:08 Nebucatnetzer

So you want to open a file in vault A. Then close vault A and open another file in vault B?

Vinzent03 avatar Aug 03 '21 18:08 Vinzent03

Exactly yes. Or to be more specific write a file in vault B. I have one vault with my usual notes in it and another one in which I save all my read articles as a Markdown file. The workflow which currently isn’t working on mobile (specifically iOS) goes usually like this:

  1. Open a file in my notes vault (e.g. groceries list)
  2. Later read an article and try to save it with an iOS Shortcut in the articles vault.

Obsidian now can’t switch to the articles vault and just shows me the previously opened note from the notes vault. My idea is now to create an Shortcut which works like this:

  1. Close the currently active vault
  2. Open the required vault (e.g. articles)
  3. Perform the action in the vault (e.g. write a new article note)

On 3 Aug 2021, at 20:40, Vinzent03 @.***> wrote:  So you want to open a file in vault A. Then close vault A and open another file in vault B?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Nebucatnetzer avatar Aug 03 '21 21:08 Nebucatnetzer

I have done a bit of research and I don't think closing the vault will help. Even if you are in the vault switcher, you can't open another vault per URI.

Vinzent03 avatar Aug 04 '21 14:08 Vinzent03

I thought that might be the case in my tests. Ah well I merged the two vaults back together, in the end it is anyway all part of my knowledge. Thank you for having a look at it.

On 4 Aug 2021, at 16:05, Vinzent03 @.***> wrote:

 I have done a bit of research and I don't think closing the vault will help. Even if you are in the vault switcher, you can't open another vault per URI.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Nebucatnetzer avatar Aug 05 '21 09:08 Nebucatnetzer