Open (external) obsidian:// links in new tab

Use case or problem

I have links for example in my Todo App that point to certain obsidian notes with an Obsidian URL e.g. obsidian://open?vault=vault&file=Project

When I open them they use the currently focused tab. I’d like them to open a new tab and not overwrite what I am working on.

Proposed solution

Add an option to open Links from external sources in a new tab or always open links from outside sources as new tab.

Current workaround (optional)

  1. Open Obsidian
  2. Ctrl-t
  3. Go back into Todo App/Browser and click the Obsidian link

Related feature requests (optional)

This is similar to but not the same as Click links/files to open in new tab by default

9 Likes

This would be a nice feature.

1 Like

+1, I also think this should be the default behavior.

Additional workaround, because it took me ages to find this: Use the Obsidian Advanced URI plugin

Relevant features of the plugin:

  • It adds a context menu item “Copy Advanced URI” (below the Copy Obsidial URL item)
  • When using this URI, it opens the note in a new tab
  • Extra: There seem to be a lot more options to configure URIs to open in different ways, but haven’t tried them out
3 Likes

Seems like it isn’t the default behavior in the plugin anymore.
To make it open in a new tab using the plugin, add openmode and set it to true

Eg:

obsidian://adv-uri?vault=VAULTNAME&filepath=MYFILE&heading=2024&openmode=true

According to Create new note without closing closing curently edited one · Issue #369 · obsidianmd/obsidian-clipper, the Obsidian URI should first support “open in new tab”, then the Obsidian Clipper could open the new note in new tab rather than replacing current note:

Currently Advanced URI plugin supports this feature, however, since Obsidian Clipper is using vanilla “obsidian” uri, it depends on Obsidian’s update.

Maybe add an extra parameter to indicate “open in new tab”.

2 Likes

+1 to this feature. Without it, using Obsidian URIs in other apps has unpredictable behavior since there’s no way to know ahead of time which tab will have focus and be overwritten.

1 Like

I would prefer this to be a new optional parameter in the URI, as opposed to the default behavior or a vault setting.

In version 1.11.2, new , open , and daily URI actions will support a new paneType param which will allow for this FR to be satisfied. No ETAs.

1 Like

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.