feat(org): factor Org TODO groups into multiple agenda views
This commit is contained in:
parent
3e4287a405
commit
eeb35292ab
32
config.org
32
config.org
|
@ -3644,18 +3644,13 @@ By customizing ~org-super-agenda-groups~ via a let-binding in my custom agenda v
|
||||||
(-interpose ", ")
|
(-interpose ", ")
|
||||||
(apply #'concat prefix))))
|
(apply #'concat prefix))))
|
||||||
|
|
||||||
|
(defvar ~/org-todo-groups nil
|
||||||
|
"`org-super-agenda' groups for TODO entries of agenda.")
|
||||||
|
|
||||||
(after! org
|
(after! org
|
||||||
(setq org-agenda-custom-commands
|
(setq ~/org-todo-groups
|
||||||
'(("o" "Overview"
|
|
||||||
((agenda "")
|
|
||||||
(alltodo ""
|
|
||||||
((org-super-agenda-groups
|
|
||||||
'((:name "Next/In Progress"
|
'((:name "Next/In Progress"
|
||||||
:todo ("NEXT" "STRT" "WAIT" "HOLD"))
|
:todo ("NEXT" "STRT" "WAIT" "HOLD"))
|
||||||
(:discard
|
|
||||||
(:date t
|
|
||||||
:deadline t
|
|
||||||
:scheduled t))
|
|
||||||
(:name "Important"
|
(:name "Important"
|
||||||
:priority "A"
|
:priority "A"
|
||||||
:order 1)
|
:order 1)
|
||||||
|
@ -3668,14 +3663,25 @@ By customizing ~org-super-agenda-groups~ via a let-binding in my custom agenda v
|
||||||
(:name "Assignments"
|
(:name "Assignments"
|
||||||
:tag "assign"
|
:tag "assign"
|
||||||
:order 2)
|
:order 2)
|
||||||
(:order-multi
|
|
||||||
(3
|
|
||||||
(:auto-map (lambda (item)
|
(:auto-map (lambda (item)
|
||||||
(~/org-agenda-section-by-link
|
(~/org-agenda-section-by-link
|
||||||
"Goal: " "goal" item)))
|
"Goal: " "goal" item))
|
||||||
|
:order 3)
|
||||||
(:auto-map (lambda (item)
|
(:auto-map (lambda (item)
|
||||||
(~/org-agenda-section-by-link
|
(~/org-agenda-section-by-link
|
||||||
"Area: " "area" item))))))))))))))
|
"Area: " "area" item))
|
||||||
|
:order 4))
|
||||||
|
org-agenda-custom-commands
|
||||||
|
'(("o" "Overview"
|
||||||
|
((agenda "")
|
||||||
|
(alltodo "" ((org-super-agenda-groups
|
||||||
|
(-insert-at 1 '(:discard
|
||||||
|
(:date t
|
||||||
|
:deadline t
|
||||||
|
:scheduled t))
|
||||||
|
~/org-todo-groups))))))
|
||||||
|
("g" "Grouped list of TODO entries"
|
||||||
|
alltodo "" ((org-super-agenda-groups ~/org-todo-groups))))))
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
This "overview" agenda command is very nice. It's so nice, in fact, that it's almost always the only agenda view I want to use! Having to go through the dispatcher every time I want to access it is annoying and unnecessary.
|
This "overview" agenda command is very nice. It's so nice, in fact, that it's almost always the only agenda view I want to use! Having to go through the dispatcher every time I want to access it is annoying and unnecessary.
|
||||||
|
|
Loading…
Reference in a new issue