From e9e54dab59ab71c3009af9dc6dc923b64b331cbc Mon Sep 17 00:00:00 2001 From: James Dixon Date: Tue, 27 May 2025 05:26:53 -0400 Subject: [PATCH] Add org journal entry --- config/emacs/.config/emacs/init.el | 7 +++++-- config/emacs/.config/emacs/init.org | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/config/emacs/.config/emacs/init.el b/config/emacs/.config/emacs/init.el index 4942b3e..1dedcae 100644 --- a/config/emacs/.config/emacs/init.el +++ b/config/emacs/.config/emacs/init.el @@ -477,7 +477,10 @@ (setq org-treat-insert-todo-heading-as-state-change t) (setq org-src-preserve-indentation nil) (setq org-edit-src-content-indentation 0) - (setq org-log-done t)) + (setq org-log-done t) + (setq org-capture-templates '(("j" "Journal Entry" + entry (file+olp+datetree "~/Google Drive/My Drive/Org/journal.org") + "* %?" :empty-lines 1)))) ;; Sticky headers at the top of the buffer (matching org outline) ;; https://github.com/alphapapa/org-sticky-header/tree/master @@ -571,7 +574,7 @@ :straight t :config) -(load-theme 'doom-badger t) +;; (load-theme 'doom-badger t) ;; (load-theme 'doom-ir-black t) ;; Doom Modeline - much easier on the eyes diff --git a/config/emacs/.config/emacs/init.org b/config/emacs/.config/emacs/init.org index 8178cdf..37ca673 100644 --- a/config/emacs/.config/emacs/init.org +++ b/config/emacs/.config/emacs/init.org @@ -589,7 +589,10 @@ Org mode. Cut my life into pizzas. This is my plastic fork!1 |dmb| (setq org-treat-insert-todo-heading-as-state-change t) (setq org-src-preserve-indentation nil) (setq org-edit-src-content-indentation 0) - (setq org-log-done t)) + (setq org-log-done t) + (setq org-capture-templates '(("j" "Journal Entry" + entry (file+olp+datetree "~/Google Drive/My Drive/Org/journal.org") + "* %?" :empty-lines 1)))) ;; Sticky headers at the top of the buffer (matching org outline) ;; https://github.com/alphapapa/org-sticky-header/tree/master @@ -717,7 +720,7 @@ Change the look and feel of Emacs. :straight t :config) -(load-theme 'doom-badger t) +;; (load-theme 'doom-badger t) ;; (load-theme 'doom-ir-black t) ;; Doom Modeline - much easier on the eyes