Can I use keywords in Safari as Google Chrome?
KeySearch sounds like what you want. From the website:

It uses short keywords to allow you to search any site you want, right from the toolbar.
...
Just right-click on any search box and choose &quot;Create keyword for this search.&quot; Type in a keyword and KeySearch takes care of the rest.

(I have not used it.)