summaryrefslogtreecommitdiffstats
path: root/lisp/init-org.el
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2023-04-04 19:10:22 +0200
committerMartin Polden <mpolden@mpolden.no>2023-04-04 19:10:22 +0200
commit79e9ed1451ed5e0a0cfbd176f88227aba4ecd546 (patch)
treecd3298e813bfbdf6a10beafb283822297cf559f2 /lisp/init-org.el
parent4db31bbcfb29cbd6c257e882ca874d3204857c41 (diff)
org: allow capturing task directly
Diffstat (limited to 'lisp/init-org.el')
-rw-r--r--lisp/init-org.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/init-org.el b/lisp/init-org.el
index 402dc79..a424478 100644
--- a/lisp/init-org.el
+++ b/lisp/init-org.el
@@ -40,6 +40,9 @@
;; capture template including title, date and time
(setq org-capture-templates '(("i" "Inbox" entry (file "")
"* TODO %?\n%U"
+ :empty-lines-after 1)
+ ("t" "Tasks" entry (file+headline "notes.org" "Tasks")
+ "* TODO %?\n%U"
:empty-lines-after 1)))
;; cycle opens archived trees