summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org7
1 files changed, 6 insertions, 1 deletions
diff --git a/init.org b/init.org
index b350f92..bd2655b 100644
--- a/init.org
+++ b/init.org
@@ -2162,8 +2162,13 @@
(defun jao--find-file-other-window (url &rest _)
(find-file-other-window (jao--fln url)))
+ (use-package elpher :ensure t)
+
+ (defun jao-elpher--browse (url &rest _) (elpher-go url))
+
(setq browse-url-handlers
- `((,jao--doc-exts . jao--browse-doc)
+ `(("^\\(gemini\\|gopher\\)://.*" . jao-elpher--browse)
+ (,jao--doc-exts . jao--browse-doc)
(,jao--see-exts . jao--see)
("^file://?.+\\.html?$" . ,jao-browse-url-function)
("^file://?" . jao--find-file-other-window)