diff --git a/+org.el b/+org.el index 9e85d73..3c66622 100644 --- a/+org.el +++ b/+org.el @@ -15,35 +15,35 @@ (use-package! org-super-agenda :after org-agenda :init -(setq org-agenda-skip-scheduled-if-done t - org-agenda-skip-deadline-if-done t - org-agenda-include-deadlines t - org-agenda-tags-column 100 - org-agenda-block-separator nil - org-agenda-compact-blocks t) + (setq org-agenda-skip-scheduled-if-done t + org-agenda-skip-deadline-if-done t + org-agenda-include-deadlines t + org-agenda-tags-column 100 + org-agenda-block-separator nil + org-agenda-compact-blocks t) (setq org-super-agenda-groups '((:name "Overdue" - :deadline past) - (:name "Today" - :time-grid t - :scheduled today - :deadline today) - (:name "Important" - :priority "A") - (:name "Assignments" - :tag "labs" - :order 10) - (:name "Study" - :tag "study" - :order 10) - (:name "Thesis" - :tag "thesis" - :order 10) - (:name "Mails" - :tag "mail" - :order 10) - (:name "Periodic" - :tag "periodic" - :order 10))) + :deadline past) + (:name "Today" + :time-grid t + :scheduled today + :deadline today) + (:name "Important" + :priority "A") + (:name "Assignments" + :tag "labs" + :order 10) + (:name "Study" + :tag "study" + :order 10) + (:name "Thesis" + :tag "thesis" + :order 10) + (:name "Mails" + :tag "mail" + :order 10) + (:name "Periodic" + :tag "periodic" + :order 10))) :config (org-super-agenda-mode)) ;; Add timestamp to DONE task @@ -75,16 +75,16 @@ ;; Add org-plain-latex (after! ox-latex (add-to-list 'org-latex-classes - '("org-plain-latex" - "\\documentclass{article} + '("org-plain-latex" + "\\documentclass{article} [NO-DEFAULT-PACKAGES] [PACKAGES] [EXTRA]" - ("\\section{%s}" . "\\section*{%s}") - ("\\subsection{%s}" . "\\subsection*{%s}") - ("\\subsubsection{%s}" . "\\subsubsection*{%s}") - ("\\paragraph{%s}" . "\\paragraph*{%s}") - ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) + ("\\section{%s}" . "\\section*{%s}") + ("\\subsection{%s}" . "\\subsection*{%s}") + ("\\subsubsection{%s}" . "\\subsubsection*{%s}") + ("\\paragraph{%s}" . "\\paragraph*{%s}") + ("\\subparagraph{%s}" . "\\subparagraph*{%s}")))) ;; Prettify code block export (use-package! engrave-faces-latex :after ox-latex) @@ -115,17 +115,16 @@ :type entry :template ("%(org-chef-get-recipe-from-url)")) ("Reference" :keys "r" - :type entry - :file "~/Documents/Uni/Thesis/docs/Bibliography.org" - :function org-goto - :fetch-bibtex (lambda () (org-capture-ref-process-capture)) - :org-entry (lambda () (org-capture-ref-get-org-entry)) - :template - ("%{fetch-bibtex}* %?%{space}%(org-capture-ref-get-bibtex-field :title)" - "#+begin_src bibtex" - "%(org-capture-ref-get-bibtex-field :bibtex-string)" - "#+end_src"))))) -(setq org-capture-ref-headline-tags nil) + :type entry + :file "~/Documents/Uni/Thesis/docs/Bibliography.org" + :function org-goto + :fetch-bibtex (lambda () (org-capture-ref-process-capture)) + :org-entry (lambda () (org-capture-ref-get-org-entry)) + :template + ("%{fetch-bibtex}* %?%{space}%(org-capture-ref-get-bibtex-field :title)" + "#+begin_src bibtex" + "%(org-capture-ref-get-bibtex-field :bibtex-string)" + "#+end_src"))))) ;; Fix org-chef scraping (setq org-chef-prefer-json-ld t) ;; Get the current state of org-pomodoro