I’m looking for a way to configure a hotkey that would insert a predefined search query into vault search. This command must switch to the Search tab and focus on the search input field when run, just like Ctrl/Cmd+Shift+F. I would also like to bind this command to the ribbon. How can I achieve this?
While one can achieve this with Templater, the plugin requires an active editor to run scripts.
You could bookmark a search:
And use GitHub - Vinzent03/obsidian-shortcuts-for-starred-files to open the bookmark. A hotkey can be set for it, and Commander can probably add an icon to the ribbon.

You can only open the first 9 bookmarks, unfortunately, but maybe you could make it work.
There’s another bookmarks plugin that I want to try out more GitHub - namikaze-40p/obsidian-bookmarks-caller: This is an Obsidian plugin which can easily open bookmarks., but it doesn’t look like there are commands for individual bookmarks.
If I could assign a hotkey to a bookmark regardless of its place (1-9), this would be perfect. But this is an acceptable limitation–I will simply keep the hotkey’d bookmarks on top. Thank you!