Commit 07cce8a6ca55

Vincent Demeester <vincent@sbr.pm>
2026-03-27 10:05:17
feat(emacs): improve agenda and add done capture templates
Reordered daily agenda: priority first, then schedule, then NEXT focus items. Added tdw/tds/tdp capture templates to log completed work directly to the right section as DONE, bypassing inbox for lower friction daily tracking.
1 parent 98ee29a
Changed files (1)
dots
config
emacs
dots/config/emacs/init.el
@@ -1736,13 +1736,14 @@ minibuffer, even without explicitly focusing it."
      ;;   (org-agenda-entry-types '(:deadline))))
 
      ("d" "Daily Agenda"
-      ((agenda ""
+      ((tags-todo "+PRIORITY=\"1\""
+		  ((org-agenda-overriding-header "๐Ÿ”ด High Priority")))
+       (agenda ""
 	       ((org-agenda-span 'day)
-		(org-deadline-warning-days 5)))
-       (tags-todo "+PRIORITY=\"1\""
-		  ((org-agenda-overriding-header "High Priority Tasks")))
+		(org-deadline-warning-days 5)
+		(org-agenda-overriding-header "๐Ÿ“… Schedule & Deadlines")))
        (todo "NEXT"
-	     ((org-agenda-overriding-header "Next Tasks")))))
+	     ((org-agenda-overriding-header "โžก๏ธ Focus (NEXT)")))))
      ("D" "Daily Agenda (old)"
       ((agenda ""
 	       ((org-agenda-files (vde/all-org-agenda-files))
@@ -2075,9 +2076,24 @@ Prompts for URL with clipboard as default.  Suitable for %(sexp) in capture temp
 		 :empty-lines 1)
 	       t)
   (add-to-list 'org-capture-templates
-	       `("td" "โœ… Done" entry
-		 (file ,org-inbox-file)
-		 "* DONE %?\n:PROPERTIES:\n:CREATED:\t%U\n:END:\n\n%i\n\nFrom: %a"
+	       `("td" "โœ… Done (log)")
+	       t)
+  (add-to-list 'org-capture-templates
+	       `("tdw" "โœ… Work" entry
+		 (file+headline ,org-todos-file "Work")
+		 "* DONE %?\nCLOSED: %U\n:PROPERTIES:\n:CREATED:\t%U\n:END:"
+		 :empty-lines 1)
+	       t)
+  (add-to-list 'org-capture-templates
+	       `("tds" "โœ… Systems" entry
+		 (file+headline ,org-todos-file "Systems")
+		 "* DONE %?\nCLOSED: %U\n:PROPERTIES:\n:CREATED:\t%U\n:END:"
+		 :empty-lines 1)
+	       t)
+  (add-to-list 'org-capture-templates
+	       `("tdp" "โœ… Personal" entry
+		 (file+headline ,org-todos-file "Personal")
+		 "* DONE %?\nCLOSED: %U\n:PROPERTIES:\n:CREATED:\t%U\n:END:"
 		 :empty-lines 1)
 	       t)
   ;; Refine this