Skip to content

Instantly share code, notes, and snippets.

@spacebat
Created May 7, 2014 04:59
Show Gist options
  • Save spacebat/097f3e7469edf2eaa6a9 to your computer and use it in GitHub Desktop.
Save spacebat/097f3e7469edf2eaa6a9 to your computer and use it in GitHub Desktop.
org-capture-templates
(setq org-capture-templates
(("a" "Appointment" entry
(file+headline
(concat org-directory "/taskdiary.org")
"Calendar")
"* APPT %^{Description} %^g\n%?\nAdded: %U")
("n" "Notes" entry
(file+datetree
(concat org-directory "/taskdiary.org"))
"* %^{Description} %^g %?\nAdded: %U")
("t" "Task Diary" entry
(file+datetree
(concat org-directory "/taskdiary.org"))
"* TODO %^{Description} %^g\n%?\nAdded: %U")
("d" "Long Tail TODO Task" entry
(file+headline "" "Tasks")
"* TODO %?\n %u\n %a")
("j" "Journal" entry
(file+datetree
(concat org-directory "/workjournal.org"))
"** %^{Heading}")
("l" "Log Time" entry
(file+datetree
(concat org-directory "/timelog.org"))
"** %U - %^{Activity} :TIME:")))
@rjanardan
Copy link

great examples, thank you

@hank-lenzi
Copy link

There's a missing quote in:
(setq org-capture-templates
(("a" "Appointment" entry ...

Should be:
(setq org-capture-templates
'(("a" "Appointment" entry ...

@charlemana
Copy link

Thank you so much for these examples

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment