diff options
| author | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-10 13:05:30 +1000 |
|---|---|---|
| committer | Szymon Szukalski <szymon@szymonszukalski.com> | 2026-04-10 13:05:30 +1000 |
| commit | 44f4506f29b937130e04c42049afe78c69b0dd28 (patch) | |
| tree | dc0a8db8f4caa92c30c698afd890336499663754 /lisp/ss-ui.el | |
| parent | 2d8d20c50d60644c0d1de2021893bce3b04da76a (diff) | |
Add olivetti for org buffers
Diffstat (limited to 'lisp/ss-ui.el')
| -rw-r--r-- | lisp/ss-ui.el | 11 |
1 files changed, 10 insertions, 1 deletions
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) |
