No Dupe Leaves
approvedby Simon Cambier
Don't reopen notes that are already open.
π You should take a look at https://github.com/czottmann/obsidian-mononote π
Obsidian "No Dupe Leaves" Plugin
Automatically switch the focus to open notes instead of reopening them
The discussion that led to this plugin's creation.
Obsidian's default behavior is to replace the old note A with the new note B when you open it,
even if B is already open in another pane, leading you to have 2 instances of B.
This plugin will avoid opening duplicates when possible, while still respecting all "force open in a new pane" instructions (e.g. middle click on a link).
β οΈ Word of warning β οΈ This plugin modifies the default behavior of Obsidian.
Internally, it overwrites the public function openLinkText(), which is called when you click on a link in a note. This also affects other plugins that use this function - like Omnisearch -, but does not work on core features like the File Explorer.
Add your input the the original feature request to tell Obsidian that you'd like this behavior as the default :)


Contributing
As this is a quick hack over the default behavior, no feature request will be considered. You can submit PRs for bugfixes.
For plugin developers
Search results and similarity scores are powered by semantic analysis of your plugin's README. If your plugin isn't appearing for searches you'd expect, try updating your README to clearly describe your plugin's purpose, features, and use cases.