diff --git a/+org.el b/+org.el index fa456e6..d2ed1ec 100644 --- a/+org.el +++ b/+org.el @@ -58,8 +58,6 @@ org-babel-default-lob-header-args '((:exports . "both"))) ;; Enter writeroom-mode in all org files (add-hook! 'org-mode-hook 'global-writeroom-mode) -(setq writeroom-major-modes '(org-mode) - +zen-text-scale 1.5) (add-hook! 'org-mode-hook 'visual-line-mode) ;; Respect LANGUAGE export variable (add-to-list 'org-latex-packages-alist '("AUTO" "babel" t ("pdflatex"))) diff --git a/config.el b/config.el index 5caedcd..8d61876 100644 --- a/config.el +++ b/config.el @@ -29,6 +29,10 @@ (add-hook! 'markdown-mode-hook (display-line-numbers-mode -1)) (after! markdown (set-company-backend! 'markdown-mode nil)) +;; Enable writeroom-mode for text modes +(setq writeroom-major-modes '(org-mode markdown-mode) + +zen-text-scale 1.5) +(add-hook! 'markdown-mode-hook 'global-writeroom-mode) ;; Reload file from disk without confirmation (defun revert-buffer-no-confirm () (interactive)