mirror of
https://gitlab.com/dwt1/dotfiles.git
synced 2026-04-11 19:17:19 +10:00
Adding org-agenda and org-capture stuff for video.
This commit is contained in:
@@ -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")
|
||||
|
||||
))
|
||||
|
||||
|
||||
@@ -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")
|
||||
|
||||
))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user