From 3fbb07313e22d9bf7a3c4ca9bb146543d1f8eb76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Hauspie?= <michael.hauspie@univ-lille.fr> Date: Thu, 27 Feb 2025 11:09:56 +0100 Subject: [PATCH] Add org-tidy-mode to hide properties drawers while in org-present mode --- configuration.org | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/configuration.org b/configuration.org index 0d5b52b..1bfbd38 100644 --- a/configuration.org +++ b/configuration.org @@ -592,6 +592,13 @@ it with =visual-fill-column= to enhance the visual look of the presentation. #+begin_src emacs-lisp +;; org-tidy allows hidding the :PROPERTIES: drawer +(use-package org-tidy + :ensure t + :custom + (org-tidy-properties-style 'invisible) + ) + ;; so that org-* face attributes are available (require 'org-faces) @@ -613,6 +620,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. (visual-fill-column-mode 1) (visual-line-mode 1) (display-line-numbers-mode 0) + (org-tidy-mode 1) (menu-bar-mode 0) (scroll-bar-mode 0) (org-display-inline-images) @@ -662,6 +670,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. (visual-fill-column-mode 0) ; (visual-line-mode 0) (display-line-numbers-mode 1) + (org-tidy-mode 0) (menu-bar-mode 1) (scroll-bar-mode 1) (org-remove-inline-images) @@ -707,7 +716,7 @@ it with =visual-fill-column= to enhance the visual look of the presentation. ) (use-package visual-fill-column :custom - (visual-fill-column-width 110) + (visual-fill-column-width 80) (visual-fill-column-center-text t) ) #+end_src -- GitLab