scambier / obsidian-no-dupe-leaves

Automatically switch the focus to open notes instead of reopening them
GNU Affero General Public License v3.0
59 stars 5 forks source link

When using the open dialog the plugin doesn't override default behaviour. #20

Closed 3tch-a-sketch closed 8 months ago

3tch-a-sketch commented 8 months ago

Recreation of Bug: with a two notes open in obsidian attempt to use the open dialog (ctrl + o) to open the note not in focus.

Expected Behaviour: Obsidian would swap focus to the other note

Actual Behaviour: Obsidian replaces the current note

scambier commented 8 months ago

Yes, it does not work with the "open file" modal because it doesn't use the same function that is patched by No Dupe Leaves. As a workaround, 3rd party plugins like Quick Switcher++ should work (though I haven't formally verified)