Reuse already open note in a different tab when opening a note in new tab

To reduce the duplication of tabs containing the same note, it could be useful to reuse a tab that already contains the target note.

Specifically, when the user asks to open the note in a new tab, check if a tab with said note already exists, if so reuse that tab.

This FR is similar in spirit to
https://forum.obsidian.md/t/dont-reopen-notes-that-are-already-open-just-put-the-focus-on-them/36488, but different in action.
Here, a note in a different tab is reused when the user (simply) clicks on a link. A simple click usually means navigate in this tab.

7 Likes

Convo Migrated to https://forum.obsidian.md/t/ide-style-navigation-tab-reuse-on-link-opening-tab-management/46671