If you don't mind an alternative solution, what you mentioned looks a lot like custom search engines on Chrome.
Look here
And this is something I did using custom search engines.
Using Omnibox and the multiple search engines provided by Chrome, you can add, for example a custom one for the ArchWiki (If it wasn't added automatically), just like the one in the picture below, with a nice and short keyword. In my case aw
.

So now, each time I want to search something on the ArchWiki, I just go to the omnibox, type aw and then hit tab (or space) and the custom search engine switches temporarily to ArchWiki, allowing me to quickly search directly there and even takes me to the appropriate page if the term is accurate enough.
// If you are wondering how the custom ArchWiki ended up in the top box, it's because I accidentally made it the default search engine.
shift+ctrl+o
to open the bookmarks manager which has a search box. You can also replace the name of the bookmark. Also the omnibox itself suggests from your bookmarks.