Compare commits

..

5 Commits

2 changed files with 21 additions and 2 deletions

22
+org.el
View File

@ -21,6 +21,7 @@
org-agenda-block-separator nil org-agenda-block-separator nil
org-agenda-tags-column 100 org-agenda-tags-column 100
org-agenda-compact-blocks t) org-agenda-compact-blocks t)
(setq org-super-agenda-groups '((:auto-category t)))
(setq org-super-agenda-groups '((:name "Overdue" (setq org-super-agenda-groups '((:name "Overdue"
:deadline past) :deadline past)
(:name "Today" (:name "Today"
@ -29,11 +30,24 @@
:time-grid t) :time-grid t)
(:name "Important" (:name "Important"
:priority "A") :priority "A")
(:name "Tomorrow"
:scheduled tomorrow
:deadline tomorrow
:time-grid t)
(:name "Assignments" (:name "Assignments"
:tag "labs" :tag "labs"
:order 10) :order 10)
(:name "Exams" (:name "Exams"
:tag "exams" :tag "exams"
:order 10)
(:name "Study"
:tag "study"
:order 10)
(:name "Thesis"
:tag "thesis"
:order 10)
(:name "Mails"
:tag "mail"
:order 10))) :order 10)))
:config :config
(org-super-agenda-mode)) (org-super-agenda-mode))
@ -81,7 +95,8 @@
:after ox-latex) :after ox-latex)
(setq org-latex-src-block-backend 'engraved) (setq org-latex-src-block-backend 'engraved)
;; Set up bibliography management ;; Set up bibliography management
(setq citar-bibliography '("~/Documents/Education/Bibliography/references.bib")) (setq org-cite-global-bibliography '("~/Documents/Uni/Thesis/docs/bibliography.bib")
citar-bibliography org-cite-global-bibliography)
;; Add citeproc and metadata-file options to ox-pandoc ;; Add citeproc and metadata-file options to ox-pandoc
(after! ox-pandoc (after! ox-pandoc
(add-to-list 'org-pandoc-valid-options 'citeproc) (add-to-list 'org-pandoc-valid-options 'citeproc)
@ -142,5 +157,8 @@
(sp-local-pair "_" "_") (sp-local-pair "_" "_")
(sp-local-pair "/" "/") (sp-local-pair "/" "/")
(sp-local-pair "~" "~") (sp-local-pair "~" "~")
(sp-local-pair "=" "=")
(sp-local-pair "$" "$"))) (sp-local-pair "$" "$")))
;; Only show a task once if it has a schedule and deadline
(setq org-agenda-skip-deadline-prewarning-if-scheduled t)
;; Auto tangle on save
(add-hook 'org-mode-hook 'org-auto-tangle-mode)

View File

@ -13,3 +13,4 @@
(package! magit-delta) (package! magit-delta)
(package! engrave-faces) (package! engrave-faces)
(package! org-modern) (package! org-modern)
(package! org-auto-tangle)