Adding org-agenda and org-capture stuff for video.

This commit is contained in:
Derek Taylor
2026-03-15 13:12:35 -05:00
parent bacdb0f70e
commit 7084ba9241
2 changed files with 16 additions and 8 deletions

View File

@@ -576,12 +576,16 @@
;; List files that org-agenda will use.
(setq org-agenda-files
(list (concat org-directory "tasks.org")
(concat org-directory "notes.org")
(concat org-directory "journal.org")))
;; Defines the global fallback destination for all your Org notes.
(setq org-default-notes-file (concat org-directory "notes.org"))
;; (Optional) Create custom templates
;; NOTE '%U' is an inactive timestamp meaning the item will not show
;; in org-agenda. Use '%^t' for active timestamps instead.
;; You can manually switch active/inactive with SHIFT-up/down.
(setq org-capture-templates
`(
;; Idea capture
@@ -591,18 +595,18 @@
;; Journal entry
("j" "journal" entry
(file+olp+datetree ,(concat org-directory "/journal.org"))
(file+olp+datetree ,(concat org-directory "journal.org"))
"* %U\n%?\n")
;; Note with link to source
("n" "note" entry
(file ,org-default-notes-file)
"* %? :note:\n%U\n%a\n")
"* %? :note:\n%^t\n%a\n")
;; Todo with context
("t" "task" entry
(file+headline ,(concat org-directory "/tasks.org"))
"* TODO %?\n%U\n%a\n")
(file+headline ,(concat org-directory "tasks.org") "Tasks")
"* TODO %?\n%^t\n%a\n")
))

View File

@@ -800,6 +800,7 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f
;; List files that org-agenda will use.
(setq org-agenda-files
(list (concat org-directory "tasks.org")
(concat org-directory "notes.org")
(concat org-directory "journal.org")))
#+end_src
@@ -809,6 +810,9 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f
(setq org-default-notes-file (concat org-directory "notes.org"))
;; (Optional) Create custom templates
;; NOTE '%U' is an inactive timestamp meaning the item will not show
;; in org-agenda. Use '%^t' for active timestamps instead.
;; You can manually switch active/inactive with SHIFT-up/down.
(setq org-capture-templates
`(
;; Idea capture
@@ -818,18 +822,18 @@ Neotree is a file tree viewer. When you open neotree, it jumps to the current f
;; Journal entry
("j" "journal" entry
(file+olp+datetree ,(concat org-directory "/journal.org"))
(file+olp+datetree ,(concat org-directory "journal.org"))
"* %U\n%?\n")
;; Note with link to source
("n" "note" entry
(file ,org-default-notes-file)
"* %? :note:\n%U\n%a\n")
"* %? :note:\n%^t\n%a\n")
;; Todo with context
("t" "task" entry
(file+headline ,(concat org-directory "/tasks.org"))
"* TODO %?\n%U\n%a\n")
(file+headline ,(concat org-directory "tasks.org") "Tasks")
"* TODO %?\n%^t\n%a\n")
))