summaryrefslogtreecommitdiff
path: root/init.org
diff options
context:
space:
mode:
Diffstat (limited to 'init.org')
-rw-r--r--init.org6
1 files changed, 4 insertions, 2 deletions
diff --git a/init.org b/init.org
index 019f8cf..2f4959a 100644
--- a/init.org
+++ b/init.org
@@ -776,8 +776,10 @@ I don’t want to have any margins by default.
When writing Org-mode documents or when browsing the web with Eww I prefer to see shorter lines. =olivetti-mode= adjusts the buffer margins such that the buffer contents are restricted in width and centered. I find this much more readable when editing Org documents or browsing with Eww.
#+BEGIN_SRC elisp
-(require 'olivetti)
-(add-hook 'org-mode-hook #'olivetti-mode)
+(use-package olivetti
+ :hook
+ ((org-mode-hook . olivetti-mode)
+ (markdown-mode-hook . olivetti-mode)))
#+END_SRC
* Multimedia with EMMS