From 10d0360f9d12e7469f1fca5bd4ea855a4c3eadd6 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Tue, 11 Feb 2020 08:26:16 -0800 Subject: org: change some of the hooks. Let's not force the length of the lines, but instead rely on visual line mode to wrap them. --- emacs.d/custom/fcuny-org.el | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/emacs.d/custom/fcuny-org.el b/emacs.d/custom/fcuny-org.el index 6841e17..4e5d05e 100644 --- a/emacs.d/custom/fcuny-org.el +++ b/emacs.d/custom/fcuny-org.el @@ -6,11 +6,9 @@ (use-package org :ensure t :after (dash) - :hook ((org-mode . (lambda () (setq fill-column 120))) - (org-mode . turn-on-auto-fill) - (org-mode . org-indent-mode) - (org-capture-mode-hook . delete-other-windows) - (org-mode . org-hide-block-all)) + :hook ((org-mode . org-indent-mode) + (org-mode . visual-line-mode) + (org-mode . org-hide-block-all)) :bind (("C-c c" . org-capture) ("C-c a" . org-agenda) ("C-c o" . hydra-org-menu/body)) -- cgit v1.2.3