Set org-agenda regexp to include gpg encrypted files
Update org-capture-templates to be just for capturing tasks, and match new task.org file structure
This commit is contained in:
parent
86b8bfcbd0
commit
ee43b5b336
40
init.el
40
init.el
|
@ -439,8 +439,8 @@
|
||||||
(org-refile-use-outline-path t)
|
(org-refile-use-outline-path t)
|
||||||
(org-refile-allow-creating-parent-nodes t)
|
(org-refile-allow-creating-parent-nodes t)
|
||||||
(org-refile-use-outline-path 'file)
|
(org-refile-use-outline-path 'file)
|
||||||
(org-refile-targets '((nil . (:maxlevel . 2))
|
(org-refile-targets '((nil . (:maxlevel . 3))
|
||||||
(org-agenda-files . (:maxlevel . 2)))))
|
(org-agenda-files . (:maxlevel . 3)))))
|
||||||
|
|
||||||
(use-package org-src
|
(use-package org-src
|
||||||
:after org
|
:after org
|
||||||
|
@ -480,29 +480,14 @@
|
||||||
(("C-c n" . org-capture)
|
(("C-c n" . org-capture)
|
||||||
("C-c C-n" . org-capture-goto-last-stored))
|
("C-c C-n" . org-capture-goto-last-stored))
|
||||||
:custom
|
:custom
|
||||||
(org-capture-templates '(("n" "Note" entry
|
(org-capture-templates
|
||||||
(file "notes.org")
|
'(("t" "Task")
|
||||||
"* %?"
|
("tp" "Personal" entry (file+olp "tasks.org" "Personal" "Miscellaneous")
|
||||||
:prepend t)
|
"* TODO [#B] %?"
|
||||||
("t" "Todo" entry
|
:prepend t)
|
||||||
(file "tasks.org")
|
("tw" "Work" entry (file+olp "tasks.org" "Work" "Miscellaneous")
|
||||||
"* TODO [#B] %?"
|
"* TODO [#B] %?"
|
||||||
:prepend t)
|
:prepend t))))
|
||||||
("r" "Reading List")
|
|
||||||
("rr" "Simple" entry
|
|
||||||
(file "reading.org")
|
|
||||||
"* %?"
|
|
||||||
:prepend t)
|
|
||||||
("ry" "Kill Ring Head" entry
|
|
||||||
(file "reading.org")
|
|
||||||
"* %c"
|
|
||||||
:prepend t
|
|
||||||
:immediate-finish t)
|
|
||||||
("rg" "Group" entry
|
|
||||||
(file "reading.org")
|
|
||||||
"* %? [/]"
|
|
||||||
:prepend t)
|
|
||||||
)))
|
|
||||||
|
|
||||||
(use-package org-roam
|
(use-package org-roam
|
||||||
:after org
|
:after org
|
||||||
|
@ -552,12 +537,11 @@
|
||||||
(todo . " %-12:c")
|
(todo . " %-12:c")
|
||||||
(tags . " %-12:c")
|
(tags . " %-12:c")
|
||||||
(search . " %-12:c")))
|
(search . " %-12:c")))
|
||||||
|
(org-agenda-file-regexp "\\`[^.].*\\.org\\\(\\.gpg\\\)?\\'")
|
||||||
(org-agenda-files (list
|
(org-agenda-files (list
|
||||||
(expand-file-name org-directory)
|
(expand-file-name org-directory)
|
||||||
(expand-file-name "agenda" org-directory)
|
(expand-file-name "agenda" org-directory)
|
||||||
(expand-file-name "citar" org-directory)
|
(expand-file-name "journal" org-directory))))
|
||||||
(expand-file-name "journal" org-directory)
|
|
||||||
(expand-file-name "roam" org-directory))))
|
|
||||||
|
|
||||||
(use-package ox-icalendar
|
(use-package ox-icalendar
|
||||||
:after org
|
:after org
|
||||||
|
|
Loading…
Reference in a new issue