Skip to content

Latest commit

 

History

History
25 lines (16 loc) · 937 Bytes

README.md

File metadata and controls

25 lines (16 loc) · 937 Bytes

emacs-websearch

Use request.el to search things on web

This is a simple package which let you search anything on web using emacs. It can be used with Vertico! Currently, it only supports google. other search engine would be added soon.

The default brower can be changed by modifying browse-url-browser-function, e.g.

  • (setq browse-url-browser-function 'xwidget-webkit-browse-url)
  • (setq browse-url-browser-function 'eaf-open-browser)

When there is no mark set, the default search term is set to thing-at-point. When envoked on an active region, the default serach term is set to the region's content.

install

(use-package emacs-websearch
  :straight '(emacs-websearch :host github :repo "zhenhua-wang/emacs-websearch")
  :bind (("C-c l" . emacs-websearch)))

Asynchronously search is available for Consult/Vertico users. To use this, (setq emacs-websearch-async t)

example

example