From d503a2d1b63d21a63a067af254de0d24257f2641 Mon Sep 17 00:00:00 2001 From: Case Duckworth Date: Wed, 31 Mar 2021 12:45:42 -0500 Subject: Add `olivetti' and tweak `acdw/reading-mode' --- init.el | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'init.el') diff --git a/init.el b/init.el index 8c60cda..1ba61dc 100644 --- a/init.el +++ b/init.el @@ -302,6 +302,9 @@ shr-image-animate t shr-discard-aria-hidden t)) +(setup eww + (:hook acdw/reading-mode)) + (add-hook 'text-mode-hook #'goto-address-mode) (add-hook 'prog-mode-hook #'goto-address-prog-mode) @@ -479,6 +482,12 @@ (require 'acdw-modeline) (simple-modeline-mode +1)) +;;;; Olivetti +;; also useful for `acdw/reading-mode' +(setup (:straight olivetti) + (:option olivetti-body-width (+ fill-column 4) + olivetti-minimum-body-width fill-column)) + ;;; Utilities ;;;; 0x0 -- upload files to a nullpointer -- cgit 1.4.1-21-gabe81