emacs: Adapt org capture templates
This commit is contained in:
parent
589320a4bb
commit
ba6866c509
@ -106,6 +106,29 @@
|
||||
|
||||
(setq org-export-allow-bind-keywords t)
|
||||
|
||||
(setq org-log-done #'time)
|
||||
|
||||
(after! org
|
||||
(setq org-capture-templates '(("t" "Personal todo" entry
|
||||
(file+headline +org-capture-todo-file "Inbox")
|
||||
"* TODO %?\n%i\n%a" :prepend t)
|
||||
("n" "Personal notes" entry
|
||||
(file+headline +org-capture-notes-file "Inbox")
|
||||
"* %u %?\n%i\n%a" :prepend t)
|
||||
("j" "Journal" entry
|
||||
(file+olp+datetree +org-capture-journal-file)
|
||||
"* %U %?\n%i\n%a" :prepend t)
|
||||
("p" "Templates for projects")
|
||||
("pt" "Project-local todo" entry
|
||||
(file+headline +org-capture-project-todo-file "Inbox")
|
||||
"* TODO %?\n%i\n%a" :prepend t)
|
||||
("pn" "Project-local notes" entry
|
||||
(file+headline +org-capture-project-notes-file "Inbox")
|
||||
"* %U %?\n%i\n%a" :prepend t)
|
||||
("pc" "Project-local changelog" entry
|
||||
(file+headline +org-capture-project-changelog-file "Unreleased")
|
||||
"* %U %?\n%i\n%a" :prepend t)))
|
||||
)
|
||||
;; (map! :nv "SPC r" "SPC n r")
|
||||
|
||||
(map! :map org-mode-map :nvi "C-k" #'org-backward-element)
|
||||
|
Loading…
x
Reference in New Issue
Block a user