about summary refs log tree commit diff stats
path: root/init.el
diff options
context:
space:
mode:
authorCase Duckworth2021-03-31 12:45:42 -0500
committerCase Duckworth2021-03-31 12:45:42 -0500
commitd503a2d1b63d21a63a067af254de0d24257f2641 (patch)
treebfc059555136fef1e877d85784e93f9a8bef063d /init.el
parentFix font setting (diff)
downloademacs-d503a2d1b63d21a63a067af254de0d24257f2641.tar.gz
emacs-d503a2d1b63d21a63a067af254de0d24257f2641.zip
Add `olivetti' and tweak `acdw/reading-mode'
Diffstat (limited to 'init.el')
-rw-r--r--init.el9
1 files changed, 9 insertions, 0 deletions
diff --git a/init.el b/init.el index 8c60cda..1ba61dc 100644 --- a/init.el +++ b/init.el
@@ -302,6 +302,9 @@
302 shr-image-animate t 302 shr-image-animate t
303 shr-discard-aria-hidden t)) 303 shr-discard-aria-hidden t))
304 304
305(setup eww
306 (:hook acdw/reading-mode))
307
305(add-hook 'text-mode-hook #'goto-address-mode) 308(add-hook 'text-mode-hook #'goto-address-mode)
306(add-hook 'prog-mode-hook #'goto-address-prog-mode) 309(add-hook 'prog-mode-hook #'goto-address-prog-mode)
307 310
@@ -479,6 +482,12 @@
479 (require 'acdw-modeline) 482 (require 'acdw-modeline)
480 (simple-modeline-mode +1)) 483 (simple-modeline-mode +1))
481 484
485;;;; Olivetti
486;; also useful for `acdw/reading-mode'
487(setup (:straight olivetti)
488 (:option olivetti-body-width (+ fill-column 4)
489 olivetti-minimum-body-width fill-column))
490
482;;; Utilities 491;;; Utilities
483 492
484;;;; 0x0 -- upload files to a nullpointer 493;;;; 0x0 -- upload files to a nullpointer