aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Tom Willemse2026-10-21 11:36:16 -0700
committerGravatar Tom Willemse2026-11-27 22:51:51 -0700
commite73388bdf9e384a6386e1f700555978c72be1c7b (patch)
tree01e01aa4fc2c5e93bb37b3a589b17f24aa67f01c
parentcbd790cbed5a14b7de05115072678fa266edc800 (diff)
downloadnew-dotfiles-e73388bdf9e384a6386e1f700555978c72be1c7b.tar.gz
new-dotfiles-e73388bdf9e384a6386e1f700555978c72be1c7b.zip
emacs: Add olivetti mode configuration
-rw-r--r--emacs/.emacs.d/init.org17
1 files changed, 17 insertions, 0 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 28d9013..cfab58e 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.emacs.d/init.org
@@ -1704,3 +1704,20 @@ Using notmuch as my email reader, here is my config.
(add-hook 'notmuch-hello-mode-hook 'olivetti-mode)
(add-hook 'notmuch-show-mode-hook 'olivetti-mode))
#+end_src
+
+* Olivetti
+
+This is a package that increases the size of the margins in a buffer to center the text in the middle. In my opinion this creates a nice bit of breathing room for some text modes and makes it easier to read by making sure the lines don't get too long.
+
+This works great with things like =org-indent-mode=.
+
+#+begin_src emacs-lisp
+ (use-package olivetti
+ :hook (org-mode notmuch-hello-mode notmuch-show-mode circe-channel-mode))
+#+end_src
+
+This package needs the =emacs-olivetti= package.
+
+#+begin_src scheme :neoweb-ref emacs-package :tangle no
+ "emacs-olivetti"
+#+end_src