-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature request] Whether to open a new panel if the search result is in the current file #320
Comments
Though I agree with you and actually would like this to be Obsidian's default behavior, this is outside of Omnisearch's scope. However I made another small plugin that you can enable to get this behavior. It's not perfect but works well with Omnisearch: https://github.com/scambier/obsidian-no-dupe-leaves |
Thank you for replying. I tried using the plugin However, this doesn't solve my problem. When If I don't turn on |
Ok I misunderstood your request. So what you want is either switch to an existing note if it's already open, or open a new tab. |
Yes, it is. |
Is your feature request related to a problem? Please describe.
I hope that during searches, if the search result is in the current file, it shouldn't open a new pane, but if the result is in another file, then it should open a new panel. Right now, there's only one option that can be set, which is
Open in new pane
and it applies to all search results.Describe the solution you'd like
It would be nice if there are two setting options:
Additionally, these options will be applied to both commands
In-file Search
andVault Search
.Describe alternatives you've considered
Provide only one setting, whether to open a new panel if the search result is in another file. Because if the search result is in the current file, simply jumping to the cursor position should be a good default behavior.
The text was updated successfully, but these errors were encountered: