summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--init.el10
1 files changed, 9 insertions, 1 deletions
diff --git a/init.el b/init.el
index ca6729b..3ddb131 100644
--- a/init.el
+++ b/init.el
@@ -1513,7 +1513,15 @@
:init
(define-key km/external-map "b" #'browse-url)
:config
- (setq browse-url-browser-function 'browse-url-firefox))
+ (setq browse-url-browser-function
+ `(,(cons (rx string-start "https://"
+ (or "inbox.kyleam.com"
+ "lore.kernel.org"
+ "orgmode.org/list"
+ "public-inbox.org"
+ "yhetil.org"))
+ #'eww-browse-url)
+ ("." . browse-url-firefox))))
(use-package webjump
:config