diff options
-rw-r--r-- | init.org | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 |