Add olivetti to Emacs to center certain buffers

This commit is contained in:
Andreas Zweili 2023-04-24 16:16:04 +02:00
parent 59e0bbd4db
commit 5bc7cde4a5
3 changed files with 6 additions and 0 deletions

View File

@ -61,6 +61,7 @@
epkgs.move-text
epkgs.multi-vterm
epkgs.nix-mode
epkgs.olivetti
epkgs.parsebib
epkgs.pdf-tools
epkgs.perspective

View File

@ -0,0 +1,4 @@
(use-package olivetti
:hook (markdown-mode . olivetti-mode)
:config
(setq olivetti-body-width 89))

View File

@ -20,6 +20,7 @@
(load-file (modules-path "langtool.el"))
(load-file (modules-path "markdown.el"))
(load-file (modules-path "move_text.el"))
(load-file (modules-path "olivetti.el"))
(load-file (modules-path "pdf_tools.el"))
(load-file (modules-path "spellcheck.el"))