Playing around a bit with org-agenda.

This commit is contained in:
Derek Taylor
2023-01-04 19:03:18 -06:00
parent f5786cb3fb
commit 0f425f3311
2 changed files with 60 additions and 0 deletions
+28
View File
@@ -708,6 +708,34 @@ List of keybindings (SPC h b b)")
))
(after! org
(setq
;; org-fancy-priorities-list '("❗" "[B]" "▰")
;; org-fancy-priorities-list '("⬆" "↕" "⬇")
org-fancy-priorities-list '("🟥" "🟧" "🟨")
org-priority-faces
'((?A :foreground "#ff6c6b" :weight bold)
(?B :foreground "#98be65" :weight bold)
(?C :foreground "#c678dd" :weight bold))
))
(setq org-agenda-custom-commands
'(("v" "A better agenda view"
((tags "PRIORITY=\"A\""
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
(org-agenda-overriding-header "High-priority unfinished tasks:")))
(tags "PRIORITY=\"B\""
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
(org-agenda-overriding-header "Medium-priority unfinished tasks:")))
(tags "PRIORITY=\"C\""
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
(org-agenda-overriding-header "Low-priority unfinished tasks:")))
(tags "customtag"
((org-agenda-skip-function '(org-agenda-skip-entry-if 'todo 'done))
(org-agenda-overriding-header "Tasks with customtag tag:")))
(agenda "")
(alltodo "")))))
(use-package! org-auto-tangle
:defer t
:hook (org-mode . org-auto-tangle-mode)