Commit 32c0c24cf66d

Vincent Demeester <vincent@sbr.pm>
2026-04-02 11:23:22
add TIL capture template (i โ†’ ii)
Captures to til.org with title prompt, tags prompt, and date stamp. Template: * Title :tags: <date> cursor here
1 parent e79dbd2
Changed files (1)
dots
config
emacs
dots/config/emacs/init.el
@@ -2127,6 +2127,15 @@ Prompts for URL with clipboard as default.  Suitable for %(sexp) in capture temp
 		 (file ,org-inbox-file)
 		 "%(vde/org-capture-web-page-both)")
 	       t)
+  (add-to-list 'org-capture-templates
+	       `("i" "๐Ÿ’ก TIL")
+	       t)
+  (add-to-list 'org-capture-templates
+	       `("ii" "๐Ÿ’ก Today I Learned" entry
+		 (file ,(expand-file-name "til.org" org-directory))
+		 "* %^{Title}%^g\n\n<%<%Y-%m-%d %a>>\n\n%?\n"
+		 :empty-lines 1)
+	       t)
   (add-to-list 'org-capture-templates
 	       `("m" "โœ‰ Email Workflow")
 	       t)