commit 16a839fbec2daaa58be45739496d4b41159156a0 parent ec9b81cf113d2bd6d18e053d9ab1592f230db57d Author: Vincent Demeester <vincent@sbr.pm> Date: Thu, 11 Jun 2020 15:19:23 +0200 tools/emacs: add org-journal… … and use `{file}.private.org` for private notes. This means I'll be able to join notes and technical into one. Signed-off-by: Vincent Demeester <vincent@sbr.pm> Diffstat:
M | tools/emacs/config/config-org.el | | | 14 | ++++++++++++-- |
M | users/vincent/dev/emacs.nix | | | 1 | + |
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/tools/emacs/config/config-org.el b/tools/emacs/config/config-org.el @@ -638,9 +638,19 @@ With prefix argument, also display headlines without a TODO keyword." :unnarrowed t) ("p" "private" plain (function org-roam--capture-get-point) "%?" - :file-name "private-${slug}" + :file-name "${slug}.private" :head "#+TITLE: ${title}\n" - :unnarrowed t))) + :unnarrowed t)))) + +(use-package org-journal + :bind + ("C-c n j" . org-journal-new-entry) + :custom + (org-journal-date-prefix "#+TITLE: ") + (org-journal-file-format "%Y-%m-%d.private.org") + (org-journal-dir org-default-technical-dir) + (org-journal-date-format "%A, %d %B %Y") + (org-journal-enable-agenda-integration t)) (provide 'config-org) diff --git a/users/vincent/dev/emacs.nix b/users/vincent/dev/emacs.nix @@ -82,6 +82,7 @@ in org-plus-contrib org-capture-pop-frame org-gcal + org-journal org-ql org-ref org-roam