From a2d8db7e9f7b885bcd678d47f5dd8a4a8b6bc6d5 Mon Sep 17 00:00:00 2001 From: Dominik Kaiser Date: Tue, 11 Feb 2025 12:27:48 +0100 Subject: [PATCH] Add olivetti to org-mode --- README.org | 1 + init.el | 1 + 2 files changed, 2 insertions(+) diff --git a/README.org b/README.org index 6c4d987..c78925f 100644 --- a/README.org +++ b/README.org @@ -67,6 +67,7 @@ :bind ("C-c f" . olivetti-mode) :config (setq-default olivetti-body-width 100) + (add-hook 'org-mode-hook #'olivetti-mode) (add-hook 'text-mode-hook #'olivetti-mode)) #+end_src * Completion diff --git a/init.el b/init.el index d5297cc..07ebe47 100644 --- a/init.el +++ b/init.el @@ -41,6 +41,7 @@ :bind ("C-c f" . olivetti-mode) :config (setq-default olivetti-body-width 100) + (add-hook 'org-mode-hook #'olivetti-mode) (add-hook 'text-mode-hook #'olivetti-mode)) (use-package ivy -- 2.47.2