Categorize org-super-agenda based on deadlines

This commit is contained in:
coolneng 2021-10-19 15:42:57 +02:00
parent 8bfe16a8aa
commit 19ad6fcf10
Signed by: coolneng
GPG Key ID: 9893DA236405AF57
1 changed files with 16 additions and 4 deletions

20
+org.el
View File

@ -16,7 +16,18 @@
(use-package! org-super-agenda
:after org-agenda
:init
(setq org-super-agenda-groups '((:auto-category t)))
(setq org-super-agenda-groups '((:name "Overdue"
:deadline past)
(:name "Due today"
:deadline today)
(:name "Important"
:priority "A")
(:name "Assignments"
:tag "labs"
:order 10)
(:name "Exams"
:tag "exams"
:order 10)))
:config
(org-super-agenda-mode))
;; Add timestamp to DONE task
@ -61,8 +72,9 @@
;; Set up bibliography management
(setq! +biblio-pdf-library-dir "~/Documents/Uni/TFG/bibliography/"
+biblio-default-bibliography-files '("~/Documents/Uni/TFG/assets/bibliography.bib"))
;; Add citeproc and metadata-file options to ox-latex
(add-to-list 'org-pandoc-valid-options 'citeproc)
(add-to-list 'org-pandoc-valid-options 'metadata-file)
;; Add citeproc and metadata-file options to ox-pandoc
(after! ox-pandoc
(add-to-list 'org-pandoc-valid-options 'citeproc)
(add-to-list 'org-pandoc-valid-options 'metadata-file))
;; Allow referencing by label in org-ref
(setq org-latex-prefer-user-labels t)