From 6c9c9bda0a20a5d2391869830c29ea21e3c7a3f9 Mon Sep 17 00:00:00 2001 From: Colin Powell Date: Wed, 7 Feb 2024 11:07:27 -0500 Subject: [PATCH] [emacs] Add org-modern package! Thanks Sacha! --- emacs/.config/doom/config.el | 7 +++++++ emacs/.config/doom/packages.el | 1 + 2 files changed, 8 insertions(+) diff --git a/emacs/.config/doom/config.el b/emacs/.config/doom/config.el index 430580e..588db6e 100644 --- a/emacs/.config/doom/config.el +++ b/emacs/.config/doom/config.el @@ -105,3 +105,10 @@ (if (file-exists-p host-init) (load-file host-init)) (load-file "~/.config/doom/+agenda-fix.el") + +;; Enable org-modern mode per buffer + ;(add-hook 'org-mode-hook #'org-modern-mode) + ;(add-hook 'org-agenda-finalize-hook #'org-modern-agenda) + +;; Or globally +(with-eval-after-load 'org (global-org-modern-mode)) diff --git a/emacs/.config/doom/packages.el b/emacs/.config/doom/packages.el index 174a856..2dd053f 100644 --- a/emacs/.config/doom/packages.el +++ b/emacs/.config/doom/packages.el @@ -17,6 +17,7 @@ (package! ace-link) (package! git-link) (package! blacken) +(package! org-modern) ;; To install a package directly from a remote git repo, you must specify a ;; `:recipe'. You'll find documentation on what `:recipe' accepts here: