From 7ebf013339fc05263a2193a644241bc57a13879e Mon Sep 17 00:00:00 2001 From: Marcel Kapfer Date: Tue, 11 Feb 2025 16:56:01 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20(org)=20Refined=20agenda=20views?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.org | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/config.org b/config.org index 3b413d3..89d4327 100644 --- a/config.org +++ b/config.org @@ -1514,16 +1514,17 @@ For determining the current state of my tasks I found it helpful to not only def #+begin_src emacs-lisp (setq org-agenda-custom-commands '(("o" "Agenda" - ((todo "STARTED") - (agenda "") - (todo "NEXT"))) + ((agenda "") + (todo "STARTED"))) ("u" "Upcoming tasks" agenda "" ((org-agenda-span 'week))) ("d" "Today tasks" agenda "" ((org-agenda-span 'day))) ("b" "Started tasks" todo "STARTED") ("w" "Waiting for tasks" todo "WAITING") - ("n" "Next tasks" todo "NEXT"))) + ("n" "Next tasks" todo "NEXT") + ("p" "Projects" tags "@project" + ((org-agenda-files '("~/org/tasks/personal.org")))))) #+end_src For easily choosing the next thing to work on I give each of my tasks a context (following the GTD methodology). For quickly getting a list of all actionable tasks for a context I'd like to have a quick keyboard shortcut to view a custom agenda. For this I defined a list of contexts and their shortcut and iterated over them to create an additional ~org-agenda-custom-commands~ entry for each.