Created
October 2, 2016 10:26
-
-
Save prassee/1d0678ad1c86481176a39ccb4441c53b to your computer and use it in GitHub Desktop.
org mode capture templates
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;; org mode config | |
(setq org-directory "~/todo/tasks") | |
(setq org-default-notes-file (concat org-directory "/notes.org")) | |
;; Capture templates for: TODO tasks, Notes, appointments, phone calls, meetings, and org-protocol | |
(setq org-capture-templates | |
(quote (("t" "todo" entry (file "~/todo/tasks/refile.org") | |
"* TODO %?\n%U\n%a\n" :clock-in t :clock-resume t) | |
("r" "respond" entry (file "~/todo/tasks/refile.org") | |
"* NEXT Respond to %:from on %:subject\nSCHEDULED: %t\n%U\n%a\n" :clock-in t :clock-resume t :immediate-finish t) | |
("n" "note" entry (file "~/todo/tasks/refile.org") | |
"* %? :NOTE:\n%U\n%a\n" :clock-in t :clock-resume t) | |
("j" "Journal" entry (file+datetree "~/todo/tasks/diary.org") | |
"* %?\n%U\n" :clock-in t :clock-resume t) | |
("w" "org-protocol" entry (file "~/todo/tasks/refile.org") | |
"* TODO Review %c\n%U\n" :immediate-finish t) | |
("m" "Meeting" entry (file "~/todo/tasks/refile.org") | |
"* MEETING with %? :MEETING:\n%U" :clock-in t :clock-resume t) | |
("p" "Phone call" entry (file "~/todo/tasks/refile.org") | |
"* PHONE %? :PHONE:\n%U" :clock-in t :clock-resume t) | |
;; bits notes | |
("i" "Info ret notes" entry (file "~/todo/tasks/ir.org") | |
"* Inforet %? :Inforet:\n%U" :clock-in t :clock-resume t) | |
("d" "DWH notes" entry (file "~/todo/tasks/dwh.org") | |
"* DWH %? :DWH:\n%U" :clock-in t :clock-resume t) | |
("c" "CC notes" entry (file "~/todo/tasks/cc.org") | |
"* CC %? :CC:\n%U" :clock-in t :clock-resume t) | |
("f" "ST notes" entry (file "~/todo/tasks/st.org") | |
"* SFTT %? :SFTT:\n%U" :clock-in t :clock-resume t) | |
;; bits notes | |
("h" "Habit" entry (file "~/todo/tasks/refile.org") | |
"* NEXT %?\n%U\n%a\nSCHEDULED: %(format-time-string \"%<<%Y-%m-%d %a .+1d/3d>>\")\n:PROPERTIES:\n:STYLE: habit\n:REPEAT_TO_STATE: NEXT\n:END:\n")))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment