added template for Masterarbeitsbesprechungen

This commit is contained in:
paul-loedige
2023-12-20 14:15:19 +01:00
parent 4aee25dfd5
commit ae61456f76
+25 -4
View File
@@ -27,8 +27,8 @@
- [[#add-auto-compile-hook-for-tex-mode][Add auto-compile hook for TeX mode]] - [[#add-auto-compile-hook-for-tex-mode][Add auto-compile hook for TeX mode]]
- [[#org-mode][Org Mode]] - [[#org-mode][Org Mode]]
- [[#default-location][Default Location]] - [[#default-location][Default Location]]
- [[#enable-header-numbering][Enable Header Numbering]] - [[#visual][Visual]]
- [[#setup][Setup]] - [[#org-agenda-setup][Org Agenda Setup]]
- [[#caldav-sync][CalDAV Sync]] - [[#caldav-sync][CalDAV Sync]]
- [[#org-roam][Org Roam]] - [[#org-roam][Org Roam]]
@@ -442,12 +442,19 @@ This function could also become useful if we ever want to extend the compile com
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
(setq org-directory "~/org/") (setq org-directory "~/org/")
#+end_src #+end_src
** Enable Header Numbering ** Visual
*** Enable Header Numbering
#+begin_src emacs-lisp :tangle config.el #+begin_src emacs-lisp :tangle config.el
(setq org-startup-numerated t) (setq org-startup-numerated t)
#+end_src #+end_src
*** Image Display as Default
[[https://emacs.stackexchange.com/questions/57603/how-to-always-display-inline-images-by-default-existing-solutions-dont-seem-to#comment89772_57607][this stackexchange comment]] states that this has to be done before the [[Add "~/org" to Agenda][adding the ~/org directory to Org Agenda]]
#+begin_src emacs-lisp :tangle config.el
(after! org
(setq org-startup-with-inline-images t))
#+end_src
** ToDo Setup ** Org Agenda Setup
*** Progress States *** Progress States
To get a more nuanced overview of my current TODOs I add more progress states. To get a more nuanced overview of my current TODOs I add more progress states.
| | TODO | BLOCKED | IN_PROGRESS | REVIEW | TESTING | | DONE | DELEGATED | CANCELED | | | TODO | BLOCKED | IN_PROGRESS | REVIEW | TESTING | | DONE | DELEGATED | CANCELED |
@@ -498,3 +505,17 @@ Both the org files themselves and the database should be located in the same dir
(setq org-roam-db-location "~/org/org-roam/org-roam.db") (setq org-roam-db-location "~/org/org-roam/org-roam.db")
(org-roam-db-autosync-mode)) (org-roam-db-autosync-mode))
#+end_src #+end_src
*** Note Templates
#+begin_src emacs-lisp :tangle config.el
(after! org-roam
(setq org-roam-capture-templates
'(("d" "default" plain
"%?"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: ${title}\n")
:unnarrowed t)
("b" "Besprechung Templates")
("bm" "Besprechung Masterarbeit" plain
"* Aktueller Stand\n\n* Offene Fragen\n\n* TODOs\n"
:if-new (file+head "%<%Y%m%d%H%M%S>-${slug}.org" "#+title: Masterarbeitsbesprechung ${title}\n")
:unnarrowed t))))
#+end_src