darlal / obsidian-switcher-plus

Enhanced Quick Switcher plugin for Obsidian.md
GNU General Public License v3.0
434 stars 11 forks source link

When quick switcher finds nothing, add a hotkey to search the same thing vault-wide #166

Open Ali-C-Ila opened 4 months ago

Ali-C-Ila commented 4 months ago

Use case or problem

If I use quick switcher and it finds nothing, it is very likely that I will want to vault wide search the same thing to see what I already know about it.

Proposed solution

While in quick switcher, pressing "ctrl+shift+F" will immediately search the same thing in "Search" core plugin. (Other hotkey will also do, not using "ctrl+F" is to avoid confusion with in-file search.)

Current workaround (optional)

Manually copy paste the words to "Search" plugin.

Related feature requests (optional)

This post is different, only a UI issue. https://forum.obsidian.md/t/quick-switcher-like-search-for-search-in-all-files/73470

darlal commented 3 months ago

Thanks for the feature request. If I understand correctly, this would save you time (and clicks) by making it more efficient to transfer the search term from the Switcher to the Obsidian search dialog. Such a hotkey could actually be used even when there are results in the Switcher as well.

Related feature requests (optional)

Have you seen the Omnisearch plugin? I experimented building a direct integration to it in the past, but never got to finish it. The idea was that with a hotkey you could flip from searching in Switcher++ to Omisearch (didn't get the flipping back working)