diff options
Diffstat (limited to 'init.org')
-rw-r--r-- | init.org | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -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) |