diff options
Diffstat (limited to 'init.el')
-rw-r--r-- | init.el | 9 |
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 |