more improvements to capture structure
Yep, I couldn't resist this rhyme...
This commit is contained in:
parent
8d1cd0f60c
commit
af9317f522
1 changed files with 5 additions and 5 deletions
10
init.el
10
init.el
|
@ -197,10 +197,10 @@
|
||||||
;; templates
|
;; templates
|
||||||
(setq org-capture-templates
|
(setq org-capture-templates
|
||||||
'(("t" "TODO" entry
|
'(("t" "TODO" entry
|
||||||
(file+headline "~/nextcloud/org/inbox.org" "Tasks")
|
(file+headline "~/nextcloud/org/inbox.org" "tasks-inbox")
|
||||||
"** TODO %?\n %i")
|
"** TODO %?\n %i")
|
||||||
("T" "TODO+file" entry
|
("T" "TODO+file" entry
|
||||||
(file+headline "~/nextcloud/org/inbox.org" "Tasks")
|
(file+headline "~/nextcloud/org/inbox.org" "tasks-inbox")
|
||||||
"** TODO %?\n %i\n %a")
|
"** TODO %?\n %i\n %a")
|
||||||
("n" "note" entry
|
("n" "note" entry
|
||||||
(file+headline "~/nextcloud/org/inbox.org" "Notes")
|
(file+headline "~/nextcloud/org/inbox.org" "Notes")
|
||||||
|
@ -212,9 +212,9 @@
|
||||||
(file+datetree "~/nextcloud/org/log.org.gpg")
|
(file+datetree "~/nextcloud/org/log.org.gpg")
|
||||||
"**** %U %?\n")
|
"**** %U %?\n")
|
||||||
("b" "Bookmark" entry
|
("b" "Bookmark" entry
|
||||||
(file+headline "~/nextcloud/org/bookmarks.org" "Inbox")
|
(file+headline "~/nextcloud/org/inbox.org" "bookmarks-inbox")
|
||||||
"** [[%x][%?]\n:PROPERTIES:\n:CREATED: %U\n:END:\n\n")))
|
"** TODO [[%x]]%?\n:PROPERTIES:\n:CREATED: %U\n:END:\n[[%x]]\n")))
|
||||||
;; autosave advices for agenda and org-capture
|
;; autosave advises for agenda and org-capture
|
||||||
(advice-add 'org-agenda-quit :before 'org-save-all-org-buffers)
|
(advice-add 'org-agenda-quit :before 'org-save-all-org-buffers)
|
||||||
(advice-add 'org-capture-finalize :after 'org-save-all-org-buffers)
|
(advice-add 'org-capture-finalize :after 'org-save-all-org-buffers)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue