[Emacs] Activate writeroom-mode for text, org, and markdown modes
This commit is contained in:
parent
ae075d044d
commit
bae81921f2
@ -1,3 +1,2 @@
|
|||||||
((org-mode . ((org-confirm-babel-evaluate . nil)
|
((org-mode . ((org-confirm-babel-evaluate . nil)
|
||||||
(eval . (writeroom-mode 1))
|
|
||||||
(org-latex-reference-command . "\\ref{%s}"))))
|
(org-latex-reference-command . "\\ref{%s}"))))
|
||||||
|
@ -2901,11 +2901,13 @@ is a bit too small for me, and I prefer not to go fullscren.
|
|||||||
(use-package writeroom-mode
|
(use-package writeroom-mode
|
||||||
:defer t
|
:defer t
|
||||||
:straight (:build t)
|
:straight (:build t)
|
||||||
|
:init (global-writeroom-mode 1)
|
||||||
:config
|
:config
|
||||||
(setq writeroom-width 100
|
(setq writeroom-width 100
|
||||||
writeroom-fullscreen-effect nil
|
writeroom-fullscreen-effect nil
|
||||||
writeroom-maximize-window nil
|
writeroom-maximize-window nil
|
||||||
writeroom-mode-line t))
|
writeroom-mode-line t
|
||||||
|
writeroom-major-modes '(text-mode org-mode markdown-mode)))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
** Emacs built-ins
|
** Emacs built-ins
|
||||||
|
Loading…
Reference in New Issue
Block a user