Reuse Pinned tab when opening a link

Use case or problem

Pinning feels half-functional. It does pin notes, but the pin doesn’t seem to really mean anything if selecting a link or note file doesn’t open the pinned tab of that note.

Example:
Create 2 notes, NoteA and NoteB. Now pin NoteA. In NoteB create a link to NoteA and click it. Note how NoteB’s tab navigates to NateA instead of just opening the pinned NoteA tab. Repeat this by using the file hierarchy view, it does the same thing.

Proposed solution

When selecting a note via link or file, it first attempts to open any pinned tab of that note before opening or navigating the current tab to that note.

Current workaround (optional)

No known workaround

Related feature requests (optional)

Haven’t found a related feature request.

2 Likes

Pinned means “Do not open links in this tab”

I guess it’s not as much “Pinned” for easy access as it is “Anchored” because it’s just not navigatable.

Note: This does remain a surprising behavior for users.

Correct, it also means though to open the pinned tab if I select a link to that pinned item in my opinion

That’s not how Obsidian is indented to work currently.

Personally I always saw it as a “lock in place” functionality. You can use the pin to lock notes in place as custom UI.

For example, I have a pinned note in my sidebar, that always displays a query of my last 20 days of recent notes. It is pinned in reading mode, so I can click on the links. But if I ever want to edit it, I want it to open in the main tab area, and not change in the sidebar, and certainly not move my keyboard focus to the sidebar.

But perhaps “locked” would be a less ambiguous term.


@JsonBlob Here is an existing thread, and there seems to be a plugin that might have the functionality you are describing. Automatically navigate to file location in explorer when note is opened

When I follow a link to a note that’s open in a non-pinned tab, Obsidian takes me to the tab. So it surprises me when I follow a link to a note that’s open in a pinned tab and Obsidian doesn’t take me there. The behavior is inconsistent.

An exception for @rigmarole’s sidebar case would make sense to me. I don’t expect the same behavior of sidebar notes.

2 Likes

Looking at the plugin it’s not a question of revealing the file I’ve selected… it’s that I just want the focus moved to my pinned item if I select a link TO that item that’s pinned.

If NoteB has a [[NoteA]] link, and NoteA is pinned but not in focus I just wanted the focus moved to the pinned verison of NoteA instead of opening ANOTHER version of NoteA

1 Like

Found a similar thread: Viewing an already-pinned note when clicking a link to it - #4 by alltagsverstand

This FR is only about pinned notes, but there is a more general FR to have obsidian reuse all open tabs if possible.

1 Like