Commit ab8099ba authored by Victor A. Stoichiţă's avatar Victor A. Stoichiţă
Browse files

[org] simplify capture templates

parent 12b7e7be
......@@ -194,11 +194,11 @@ TYPES is a list of todo states to check and maybe skip."
(setq org-capture-templates
'(;; Events and todos
("e" "Événement" entry (file "~/calendriers/victor.org")
"* %?\n%^t\n:PROPERTIES:\n:CAPTURED: %U\n :END:\n%i" :kill-buffer t)
("f" "Faire" entry (file "~/org/in.org")
"* FAIRE %i%?\n:PROPERTIES:\n:CAPTURED: %U\n:END:\n%i" :kill-buffer t)
("T" "Tickler" entry (file "~/org/tickler.org")
"* FAIRE %?\n%t:PROPERTIES:\n:CAPTURED: %U\n:END:\n%i" :kill-buffer t)
"* %? %^t\n%i" :kill-buffer t)
("i" "Inbox" entry (file "~/org/in.org")
"* %i%?\n%i" :kill-buffer t)
("T" "Tickler" entry (file+headline "~/org/tickler.org" "Occasionels")
"* TODO %? %t\n%i" :kill-buffer t)
;; Thoughts and references
("i" "Idée" entry (file "~/notes/idees.org")
......@@ -214,14 +214,12 @@ TYPES is a list of todo states to check and maybe skip."
"* %U %^{Titre} %i %?\n %c \n" :kill-buffer t)
;; This will only be shown in mail buffers. Goes directly to current projects
("m" "Mail (répondre)" entry (file+headline "~/org/encours.org" "Mail")
"* FAIRE %a :mail:\nSCHEDULED: %(org-insert-time-stamp (org-read-date nil t \"+1d\")) DEADLINE: %(org-insert-time-stamp (org-read-date nil t \"+3d\"))\n" :prepend t :kill-bufer t)))
("m" "Mail (répondre)" entry (file "~/org/repondre.org")
"* RÉPONDRE %a :mail:\n" :prepend t :kill-bufer t)))
;; Only show these templates in mail read buffers
(setq org-capture-templates-contexts
'(("m" ((in-mode . "mu4e-view")))
("u" ((in-mode . "mu4e-view")))
("n" ((in-mode . "mu4e-view")))))
'(("m" ((in-mode . "mu4e-view")))))
;;; ATTACH:
(setq org-attach-method 'mv
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment