From 3ec6e167fb302aac3b61529be49aaf479b41dd3f Mon Sep 17 00:00:00 2001 From: JSDurand Date: Sat, 28 Aug 2021 19:08:24 +0800 Subject: Use my searx instance to search --- eww-conf.el | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/eww-conf.el b/eww-conf.el index a546219..4b2c8ae 100644 --- a/eww-conf.el +++ b/eww-conf.el @@ -17,7 +17,7 @@ (setq eww-bookmarks-directory load-file-directory) -(setq eww-search-prefix "https://lite.duckduckgo.com/lite/?q=") +(setq eww-search-prefix "https://searx.jsdurand.xyz/searx/search?q=") (setq eww-restore-desktop t) (setq eww-desktop-remove-duplicates t) (setq eww-suggest-uris '(eww-links-at-point thing-at-point-url-at-point)) @@ -72,8 +72,8 @@ (cond ((version<= "28" emacs-version)) ((setq eww-retrieve-command '("wget" "--quiet" "--output-document=-")))) -;; (define-key eww-mode-map (vector 'C-tab) -;; #'durand-eww-goto-search-result) +(define-key eww-mode-map (vector 'C-tab) + #'durand-eww-goto-search-result) ;;;###autoload (defun durand-eww-goto-search-result () -- cgit v1.2.3-18-g5258