about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--config.org63
1 files changed, 63 insertions, 0 deletions
diff --git a/config.org b/config.org index 0f49797..29457b2 100644 --- a/config.org +++ b/config.org
@@ -2064,6 +2064,69 @@ others.
2064 (setq-default 0x0-default-service 'ttm) 2064 (setq-default 0x0-default-service 'ttm)
2065#+end_src 2065#+end_src
2066 2066
2067** Gemini/gopher
2068
2069*** Elpher :package:
2070
2071#+begin_src emacs-lisp :noweb-ref packages
2072 (straight-use-package '(elpher
2073 :repo "git://thelambdalab.xyz/elpher.git"))
2074#+end_src
2075
2076#+begin_src emacs-lisp :noweb-ref settings
2077 (setq-default elpher-ipv4-always t)
2078
2079 (doremi-face-set 'elpher-gemini-heading1
2080 '((t (:inherit (modus-theme-heading-1)))))
2081 (doremi-face-set 'elpher-gemini-heading2
2082 '((t (:inherit (modus-theme-heading-2)))))
2083 (doremi-face-set 'elpher-gemini-heading3
2084 '((t (:inherit (modus-theme-heading-3)))))
2085#+end_src
2086
2087#+begin_src emacs-lisp :noweb-ref no-littering
2088 (setq-default elpher-certificate-directory
2089 (no-littering-expand-var-file-name
2090 "elpher-certificates/"))
2091#+end_src
2092
2093#+begin_src emacs-lisp :noweb-ref bindings
2094 (with-eval-after-load 'elpher
2095 (define-key elpher-mode-map "n" #'elpher-next-link)
2096 (define-key elpher-mode-map "p" #'elpher-prev-link)
2097 (define-key elpher-mode-map "o" #'elpher-follow-current-link)
2098 (define-key elpher-mode-map "G" #'elpher-go-current))
2099#+end_src
2100
2101*** Gemini-mode :package:
2102
2103#+begin_src emacs-lisp :noweb-ref packages
2104 (straight-use-package '(gemini-mode
2105 :repo "https://git.carcosa.net/jmcbray/gemini.el.git"))
2106#+end_src
2107
2108#+begin_src emacs-lisp :noweb-ref settings
2109 (add-to-list 'auto-mode-alist
2110 '("\\.\\(gemini\\|gmi\\)\\'" . gemini-mode))
2111
2112 (doremi-face-set 'gemini-heading-face-1
2113 '((t (:inherit (elpher-gemini-heading1)))))
2114 (doremi-face-set 'gemini-heading-face2
2115 '((t (:inherit (elpher-gemini-heading2)))))
2116 (doremi-face-set 'gemini-heading-face3
2117 '((t (:inherit (elpher-gemini-heading3)))))
2118#+end_src
2119
2120*** Gemini-write :package:
2121
2122#+begin_src emacs-lisp :noweb-ref packages
2123 (straight-use-package '(gemini-write
2124 :repo "https://alexschroeder.ch/cgit/gemini-write"))
2125
2126 (with-eval-after-load 'elpher
2127 (require 'gemini-write))
2128#+end_src
2129
2067* Org mode :package: 2130* Org mode :package:
2068 2131
2069** Install it with =straight.el= 2132** Install it with =straight.el=