With a bookmark of IMDb http://www.imdb.com/find?q=%s and a keyword imdb, I can type imdb seven then enter, and it will send me at http://www.imdb.com/find?q=seven.
With the same bookmark or another one how can I make imdb then enter go to http://www.imdb.com/, and not http://www.imdb.com/find?q=?
EDIT
Thanks to iglvzx, here's a JavaScript solution (original script by iglvzx, modified to load the main URL if the bookmark is selected in Firefox's menus). m is main URL, s is search. See his answer for more information.
javascript:(function(){var q='%s',m='http://www.google.com/',s='http://www.google.com/search?q='+q;if(keywords==''||keywords=='%'+'s'){window.location=m;}else{window.location=s;}})();







imd? Then just type imd, instead of imdb. It's even shorter ;) – mreq May 8 '12 at 17:58sas in search to the site name. Sosimdb,swiki,sgoogleetc... – mreq May 8 '12 at 18:06%scase! I will include that in my answer, too. – iglvzx May 8 '12 at 22:34