Variable: hyperbole-web-search-alist
hyperbole-web-search-alist is a customizable variable defined in
hsettings.el.
Value
(("Amazon" . "http://www.amazon.com/s/field-keywords=%s")
("Bing" . "http://www.bing.com/search?q=%s")
("Dictionary" . "https://en.wiktionary.org/wiki/%s")
("ducKduckgo" . "https://duckduckgo.com/?q=%s")
("Elisp" . "http://www.google.com/search?q=%s+filetype:el")
("Facebook" . "https://www.facebook.com/hashtag/%s")
("Google" . "http://www.google.com/search?q=%s")
("gitHub" . "https://github.com/search?ref=simplesearch&q=%s")
("Images" . "http://www.google.com/images?hl=en&q=%s")
("Jump" . webjump)
("Maps" . "http://maps.google.com/maps?q=%s")
("RFCs" . "https://tools.ietf.org/html/rfc%s")
("StackOverflow" . "https://stackoverflow.com/search?q=%s")
("Wikipedia" . "https://en.wikipedia.org/wiki/%s")
("X" . "https://x.com/search?q=%s")
("Youtube" . "https://www.youtube.com/results?search_query=%s"))
Documentation
Alist of (web-service-name . emacs-cmd-or-url-with-%s-parameter) elements.
The first capitalized character of each web-service-name must be unique. This custom option is used in the Hyperbole Find/Web menu where the %s in the url-with-%s-parameter is replaced with an interactively obtained search term; if second argument is a command instead, then it is called interactively to prompt for the search term with which it then runs the search.
Source Code
;; Defined in ~/.emacs.d/elpa/hyperbole-20260414.325/hsettings.el
(defcustom hyperbole-web-search-alist
'(("Amazon" . "http://www.amazon.com/s/field-keywords=%s")
("Bing" . "http://www.bing.com/search?q=%s")
;; Wikipedia Dictionary
("Dictionary" . "https://en.wiktionary.org/wiki/%s")
("ducKduckgo" . "https://duckduckgo.com/?q=%s")
("Elisp" . "http://www.google.com/search?q=%s+filetype:el")
;; Facebook Hashtags
("Facebook" . "https://www.facebook.com/hashtag/%s")
;; To search for a Facebook user, use "https://www.facebook.com/%s".
("Google" . "http://www.google.com/search?q=%s")
("gitHub" . "https://github.com/search?ref=simplesearch&q=%s")
("Images" . "http://www.google.com/images?hl=en&q=%s")
("Jump" . webjump)
("Maps" . "http://maps.google.com/maps?q=%s")
("RFCs" . "https://tools.ietf.org/html/rfc%s")
("StackOverflow" . "https://stackoverflow.com/search?q=%s")
("Wikipedia" . "https://en.wikipedia.org/wiki/%s")
("X" . "https://x.com/search?q=%s")
("Youtube" . "https://www.youtube.com/results?search_query=%s"))
"Alist of (web-service-name . emacs-cmd-or-url-with-%s-parameter) elements.
The first capitalized character of each web-service-name must be unique.
This custom option is used in the Hyperbole Find/Web menu where
the %s in the url-with-%s-parameter is replaced with an interactively
obtained search term; if second argument is a command instead, then
it is called interactively to prompt for the search term with which it
then runs the search."
:initialize #'custom-initialize-default
:set (lambda (option value)
(set option value)
(hyperbole-update-menus))
:type '(alist :key-type string :value-type (choice string symbol))
:group 'hyperbole-commands)