summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Kosarek <mattkae@protonmail.com>2023-07-19 11:36:23 -0400
committerMatthew Kosarek <mattkae@protonmail.com>2023-07-19 11:36:23 -0400
commit59b63d7583bb7e25d5395a2d0523af6e1126809c (patch)
tree777484094ba82fb48c2ea11920f1254389c0a9d5
parentcd6fb35ac756945afc5579b77fe652d4cd6d2a26 (diff)
Org roam template for issues
-rw-r--r--lisp/org-custom.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/lisp/org-custom.el b/lisp/org-custom.el
index 30e76c4..df0a8aa 100644
--- a/lisp/org-custom.el
+++ b/lisp/org-custom.el
@@ -1,4 +1,4 @@
-
+;
;;; Code:
(require 'org)
@@ -78,6 +78,15 @@
"* %?"
:target (file+head "%<%Y-%m-%d>.org"
"#+title: %<%Y-%m-%d> 📰 \n#+filetags: :dailies:\n\n* Timeline\n\n* Notes\n\n* Questions\n\n"))))
+ (setq org-roam-capture-templates
+ '(("d" "default" plain
+ "%?"
+ :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
+ :unnarrowed t)
+ ("i" "issue" plain
+ "\n\n* Links 🔗\n- *Ticket*: \n- *JIRA*: \n- *Pull Request*: \n\n* Goals ⚽\n\n* TODOs 🔏\n\n* Observations 🔭 \n\n* Code structure 🏠\n\n* Possible Solutions 🤔\n\n* Resources 🔧\n\n"
+ :if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title} 🎫\n #+filetags: :issues:ticket:project:canonical\n")
+ :unnarrowed t)))
(org-roam-setup)
)