diff options
author | Adrian Kummerlaender | 2021-06-15 21:54:54 +0200 |
---|---|---|
committer | Adrian Kummerlaender | 2021-06-15 21:55:35 +0200 |
commit | d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21 (patch) | |
tree | abf72c2b76787bc4ff7a54a7ca3aac8e43c3c436 /gui/conf | |
parent | 6e86d31f993a4124346b947110ed0c27f8c9cc09 (diff) | |
download | nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar.gz nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar.bz2 nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar.lz nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar.xz nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.tar.zst nixos_home-d6737a7b73e2b77ca83ad4ff4975f55feb2d0a21.zip |
Prepend captures
Diffstat (limited to 'gui/conf')
-rw-r--r-- | gui/conf/email.el | 3 | ||||
-rw-r--r-- | gui/conf/init.el | 38 |
2 files changed, 17 insertions, 24 deletions
diff --git a/gui/conf/email.el b/gui/conf/email.el index bcce8fe..68c1b09 100644 --- a/gui/conf/email.el +++ b/gui/conf/email.el @@ -59,4 +59,5 @@ (add-to-list 'org-capture-templates '("m" "eMail note" entry (file org-default-notes-file) - "* TODO /%:subject/\n See %a\n\n%?")) + "* TODO /%:subject/\n See %a\n\n%?" + :prepend t)) diff --git a/gui/conf/init.el b/gui/conf/init.el index 04b62b9..11b307b 100644 --- a/gui/conf/init.el +++ b/gui/conf/init.el @@ -208,34 +208,26 @@ (sequence "IDEA(i)" "TODO(t)" "|" "DONE(d)"))) (setq org-capture-templates - '(("t" - "Todo item" - entry + '(("t" "Todo item" entry (file org-default-notes-file) - "* TODO %?\n%a") - ("c" - "Calendar entry" - entry + "* TODO %?\n%a" + :prepend t) + ("c" "Calendar entry" entry (file org-default-notes-file) - "* TODO %?\nSCHEDULED: %t") - ("j" - "Journal entry" - entry + "* TODO %?\nSCHEDULED: %t" + :prepend t) + ("j" "Journal entry" entry (file org-default-notes-file) - "* %U %^{Title}\n%?") - ("s" - "Quote selection" - entry - (file org-default-notes-file) - "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE") - ("wq" - "Website (Quote)" - entry + "* %U %^{Title}\n%?" + :prepend t) + ("s" "Quote selection" entry (file org-default-notes-file) + "* %^{Description}\n%U\n#+BEGIN_QUOTE\n%i#+END_QUOTE" + :prepend t) + ("wq" "Website (Quote)" + entry (file org-default-notes-file) "* %:description\n%:link %U\n#+BEGIN_QUOTE\n%:initial\n#+END_QUOTE") - ("w" - "Website" - entry + ("w" "Website" entry (file org-default-notes-file) "* %:description\n%:link %U" :immediate-finish t))) |