Commit 621a77cd8e09

Vincent Demeester <vincent@sbr.pm>
2024-06-28 11:49:49
tools/emacs: enable visual-line-mode in org-mode
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 49215c5
Changed files (1)
tools
emacs
tools/emacs/config/config-org.el
@@ -65,9 +65,10 @@
   (setq show-trailing-whitespace t)
   (when (not (eq major-mode 'org-agenda-mode))
     (setq fill-column 90)
-    (auto-revert-mode)
-    (auto-fill-mode)
-    (org-indent-mode)
+    (auto-revert-mode 1)
+    (auto-fill-mode 1)
+    (org-indent-mode 1)
+    (visual-line-mode 1)
     (add-hook 'before-save-hook 'org-update-all-dblocks)
     (add-hook 'auto-save-hook 'org-update-all-dblocks)
     (add-hook 'before-save-hook #'save-and-update-includes nil 'make-it-local)))