home

My NixOS systems configurations.
Log | Files | Refs | LICENSE

commit 621a77cd8e09911e550f0afced71688fbf542d55
parent 49215c55494f5bf3a27f6198b13d6192456a913d
Author: Vincent Demeester <vincent@sbr.pm>
Date:   Fri, 28 Jun 2024 11:49:49 +0200

tools/emacs: enable visual-line-mode in org-mode

Signed-off-by: Vincent Demeester <vincent@sbr.pm>

Diffstat:
Mtools/emacs/config/config-org.el | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/tools/emacs/config/config-org.el b/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)))