better-search-views icon indicating copy to clipboard operation
better-search-views copied to clipboard

[Feature Request] Open result in new tab

Open aaronrolls opened this issue 8 months ago • 3 comments

It would be great to be able to right click/long press on a better seach view heading or result and open that in another tab.

I would use this when I have an inline query and I don't want to lose my scroll place when searching. If I open a new file and then go back to the query it will load again and I'll lose my scroll postion.

aaronrolls avatar Mar 16 '25 20:03 aaronrolls

Hello @aaronrolls,

I created a new fork of the Better Search Views plugin that opens results in another tab and has a couple of other features.

You can install it on obsidian by using the BRAT plugin or by downloading and using the main.js and styles.css files in the Better Search Views plugin folder.

Salamander230 avatar Apr 06 '25 17:04 Salamander230

Hey @Salamander230,

That works great. It does make every area where Better Search Views is used open clicks in new tabs though. I still prefer it over original but if there was settings to customise which areas (inline query, sidebar search, backlinks) open new tabs and which don't, that would be ideal.

Otherwise though, this solved a big pain point for me with little downside. Thank you.

aaronrolls avatar Apr 06 '25 21:04 aaronrolls

@Salamander230, I found a bug with your fork of Better Search Views. How do I contact you to report? See newly reported issue #37.

Thanks!

Bamajon1974 avatar Sep 06 '25 16:09 Bamajon1974