-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Search Engines
This feature allows you to add keyword shortcuts for searching with your search engines in Vimium's Vomnibar (type "o" to open the Vomnibar). This works very similarly to Chrome's built-in Search Engine shortcuts. Vimium has its own list of search engine shortcuts because Chrome extensions like Vimium can't access Chrome's search engines.
To edit your list of search engines and their shortcuts, open Vimium's options page.
The syntax works like this: keyword
is the keyword that you use to call the search. %s
will be
replaced with your search terms.
# This is a comment.
keyword: www.google.com?q=%s
# Custom search engines can have descriptions.
g: www.google.com?q=%s Google
So with the above example, if you typed "my-keyword cherry pie" into Vimium's Vomnibar and hit enter, Vimium
would navigate to www.google.com?q=cherry pie
If you have many searches engine already defined in your regular Chrome settings and you want to just copy them all into Vimium's settings format, it can be cumbersome to do so given Chrome's UI. To help with this, here is a shell script written by hagabaka to do so.
Here is a list of useful and default google and other search engines in the format specified by Vimium. If you think there is something generally useful that's missing, feel free to add it.
google.com: http://www.google.com/search?q=%s&ie=utf-8&oe=utf-8&aq=t
search.creativecommons.org: http://search.creativecommons.org/?q=%
search.yahoo.com: http://search.yahoo.com/search?p=%s&ei=UTF-8
w: http://en.wikipedia.org/wiki/Special:Search?search=%s
d: https://duckduckgo.com/?q=%s
amazon.com: http://www.amazon.com/exec/obidos/external-search/?field-keywords=%s&mode=blended
bing.com: http://www.bing.com/search?setmkt=en-GB&q=%s
# Google results only for the last year
recent: https://www.google.com/search?hl=en&tbo=1&tbs=qdr:y&q=%s
# hacker news
hn: https://www.hnsearch.com/search#request/submissions&q=%s&start=0
# Find your way from your home to places using Google Maps
home: http://maps.google.com/maps?f=q&source=s_q&hl=en&q=from+INPUT+YOUR+ADDRESS+to+%s
# Stack Overflow
so: http://stackoverflow.com/search?q=%s
# Symbol Hound
sh: http://symbolhound.com/?q=%s
# Youtube
yt: http://www.youtube.com/results?search_query=%s
# omniref (ruby documentation)
rb: https://www.omniref.com/?q=%s
# Use google to search the current site you're on
site: javascript:location='http://www.google.com/search?num=100&q=site:'%20+%20escape(location.hostname)%20+%20'%20%S'%20;%20void%200
# imdb
imdb: http://www.imdb.com/find?s=all&q=%s
# google images
gi: https://www.google.com/search?tbm=isch&q=%s
# wolfram alpha
wa: http://www.wolframalpha.com/input/?i=%s
# github
git: https://github.com/search?q=%s
Additional sites with suggestions: