-
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 custom 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 do not have access to Chrome's search engines.
Your search engines and their shortcuts can be edited on Vimium's options page.
Each search engine consists of a keyword and a search URL. %s
in the search URL will be replaced with your search terms.
# This is a comment.
keyword: https://www.google.ie/search?q=%s
# Custom search engines can have descriptions.
g: https://www.google.ie/search?q=%s Google search
With the example above, if you typed g cherry pie<Enter>
into the Vomnibar, then Vimium would navigate to https://www.google.ie/search?q=cherry+pie
.
It can be cumbersome if you have many search engines in your regular Chrome settings and want to copy them into Vimium. To help, here is a small shell script (written by hagabaka) to extract your search-engine settings from Chrome.
(If you use Chrome instead of Chromium, then you may have to edit this script, replacing chromium
in the obvious path with google-chrome
. See here.)
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=%s
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: