clean capture templates
This commit is contained in:
parent
243ecc1516
commit
a574085746
21
conf.el
21
conf.el
|
@ -418,20 +418,13 @@ event of an error or nonlocal exit."
|
|||
;; TODO this may not be needed
|
||||
(setq org-use-property-inheritance '("PARENT_TYPE"))
|
||||
|
||||
(setq org-capture-templates
|
||||
'(("t" "todo" entry (file "~/Org/capture.org") "* TODO %?\ndeliverable: \n%U\n")
|
||||
("n" "note" entry (file "~/Org/capture.org") "* %? :\\%note:\n%U\n" )
|
||||
("a" "appointment" entry (file "~/Org/capture.org") "* %?\n%U\n%^t\n" )
|
||||
("m" "multi-day" entry (file "~/Org/capture.org") "* TODO %?\n%U\n%^t--%^t\n" )
|
||||
("d" "deadline" entry (file "~/Org/capture.org") "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" )
|
||||
|
||||
("j" "journal" entry (file+datetree "~/Org/diary.org") "* %?\n%U\n")
|
||||
("p" "org-protocol" entry (file+headline ,(concat org-directory "~/Org/capture.org") "Inbox")
|
||||
"* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
|
||||
("L" "org-protocol" entry (file+headline ,(concat org-directory "~/Org/capture.org") "Inbox")
|
||||
"* %? [[%:link][%:description]] \nCaptured On: %U")
|
||||
("h" "habit" entry (file "~/Org/capture.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")))
|
||||
(let ((capfile "~/Org/capture.org"))
|
||||
(setq org-capture-templates
|
||||
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
|
||||
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
|
||||
("a" "appointment" entry (file capfile) "* %?\n%U\n%^t\n" )
|
||||
("m" "multi-day" entry (file capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
||||
("d" "deadline" entry (file capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
||||
|
||||
(setq org-refile-targets (quote ((nil :maxlevel . 9)
|
||||
("~/Org/reference/idea.org" :maxlevel . 9)
|
||||
|
|
21
conf.org
21
conf.org
|
@ -602,20 +602,13 @@ There are several types of tags I use:
|
|||
#+END_SRC
|
||||
** capture
|
||||
#+BEGIN_SRC emacs-lisp
|
||||
(setq org-capture-templates
|
||||
'(("t" "todo" entry (file "~/Org/capture.org") "* TODO %?\ndeliverable: \n%U\n")
|
||||
("n" "note" entry (file "~/Org/capture.org") "* %? :\\%note:\n%U\n" )
|
||||
("a" "appointment" entry (file "~/Org/capture.org") "* %?\n%U\n%^t\n" )
|
||||
("m" "multi-day" entry (file "~/Org/capture.org") "* TODO %?\n%U\n%^t--%^t\n" )
|
||||
("d" "deadline" entry (file "~/Org/capture.org") "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" )
|
||||
|
||||
("j" "journal" entry (file+datetree "~/Org/diary.org") "* %?\n%U\n")
|
||||
("p" "org-protocol" entry (file+headline ,(concat org-directory "~/Org/capture.org") "Inbox")
|
||||
"* %^{Title}\nSource: %u, %c\n #+BEGIN_QUOTE\n%i\n#+END_QUOTE\n\n\n%?")
|
||||
("L" "org-protocol" entry (file+headline ,(concat org-directory "~/Org/capture.org") "Inbox")
|
||||
"* %? [[%:link][%:description]] \nCaptured On: %U")
|
||||
("h" "habit" entry (file "~/Org/capture.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")))
|
||||
(let ((capfile "~/Org/capture.org"))
|
||||
(setq org-capture-templates
|
||||
'(("t" "todo" entry (file capfile) "* TODO %?\ndeliverable: \n%U\n")
|
||||
("n" "note" entry (file capfile) "* %? :\\%note:\n%U\n" )
|
||||
("a" "appointment" entry (file capfile) "* %?\n%U\n%^t\n" )
|
||||
("m" "multi-day" entry (file capfile) "* TODO %?\n%U\n%^t--%^t\n" )
|
||||
("d" "deadline" entry (file capfile) "* TODO %?\nDEADLINE: %^t\ndeliverable:\n%U\n" ))))
|
||||
#+END_SRC
|
||||
** refile
|
||||
*** targets
|
||||
|
|
Loading…
Reference in New Issue