czottmann / obsidian-mononote

An Obsidian plugin that ensures each note occupies only one tab. If a note is already open, its existing tab will be focussed instead of opening the same file in the current tab.
https://obsidian.md/plugins?id=zottmann
MIT License
89 stars 2 forks source link

Add support for focusing tabs across all panes #16

Open kankaristo opened 7 months ago

kankaristo commented 7 months ago

The plugin's description explicitly says "This plugin ensures each note occupies only one tab per window pane", but I would like for it to work across all panes.

Is there some limitation in Obsidian's API why it only works within a pane, or is it a design decision? If it's possible to do, could it be configurable to choose single-pane or multi-pane mode?

From SyncLinear.com | ZCO-376

czottmann commented 7 months ago

Yes, it's a design decision. Mononote 1.0 didn't filter for pane, which caused issues when used in conjunction with the Hover Editor plugin – hovering over a file name would open the Hover Editor but close any open tab showing the same file, which was hardly ideal. ;)

I'll see what I can do regarding your feature request, though. However, it might take a while, as Mononote is not my number 1 priority right now.