From 8dee3a66e661c93476adc0dfa91ef3270d32dd1b Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Sat, 27 Mar 2021 10:33:11 -0500 Subject: Add elpher and gemini-mode --- init.el | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/init.el b/init.el index 7d0c2f7..c8b4404 100644 --- a/init.el +++ b/init.el @@ -395,6 +395,25 @@ (acdw/hooks ((text-mode-hook goto-address-mode) (prog-mode-hook goto-address-prog-mode))) +;;; Gemini/gopher browsing + +(acdw/pkg (elpher + :repo "git://thelambdalab.xyz/elpher.git") + :set '((elpher-ipv4-always t) + (elpher-certificate-directory + (acdw/in-var "elpher/"))) + :binds (("n" elpher-next-link :map elpher-mode-map) + ("p" elpher-prev-link :map elpher-mode-map) + ("o" elpher-follow-current-link :map elpher-mode-map) + ("G" elpher-go-current :map elpher-mode-map)) + :now ((when (boundp 'god-exempt-major-modes) + (add-to-list 'god-exempt-major-modes 'elpher-mode)))) + +(acdw/pkg (gemini-mode + :repo "https://git.carcosa.net/jmcbray/gemini.el.git") + :now ((add-to-list 'auto-mode-alist + '("\\.\\(gemini\\|gmi\\)\\'" . gemini-mode)))) + ;;; Dired (acdw/pkg dired :local t -- cgit 1.4.1-21-gabe81