From 44f4506f29b937130e04c42049afe78c69b0dd28 Mon Sep 17 00:00:00 2001 From: Szymon Szukalski Date: Fri, 10 Apr 2026 13:05:30 +1000 Subject: Add olivetti for org buffers --- lisp/ss-ui.el | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'lisp/ss-ui.el') diff --git a/lisp/ss-ui.el b/lisp/ss-ui.el index 79f2a0d..3dd728c 100644 --- a/lisp/ss-ui.el +++ b/lisp/ss-ui.el @@ -100,6 +100,14 @@ :init (global-corfu-mode 1))) +(defun ss-ui--setup-writing-layout () + "Configure centered writing layout helpers." + (use-package olivetti + :ensure t + :pin melpa + :custom + (olivetti-body-width 100))) + (defun ss-ui-setup () "Initialize interface and completion behavior." (setq inhibit-startup-message t @@ -128,7 +136,8 @@ (setq-default fringe-indicator-alist nil) (ss-ui--setup-modeline) - (ss-ui--setup-completion)) + (ss-ui--setup-completion) + (ss-ui--setup-writing-layout)) (provide 'ss-ui) -- cgit v1.2.3