Added drawers

This commit is contained in:
James Patrick 2023-02-18 16:21:11 -05:00
parent 889b0e3cae
commit 7ed354203b
2 changed files with 16 additions and 0 deletions

View File

@ -128,6 +128,10 @@
(add-hook 'post-command-hook 'rasmus/org-prettify-src t t))
(add-hook 'org-mode-hook #'rasmus/org-prettify-symbols))
(setq org-log-into-drawer t)
(setq org-clock-into-drawer t)
(setq org-roam-dailies-capture-templates
'(("l" "Log" entry "* %T %?"
:target (file+head+olp "%<%Y-%m-%d>.org"

View File

@ -741,6 +741,18 @@ this makes the beginning / ending of both source and quote blocks, & headers for
(add-hook 'post-command-hook 'rasmus/org-prettify-src t t))
(add-hook 'org-mode-hook #'rasmus/org-prettify-symbols))
#+end_src
*** Drawers
https://orgmode.org/manual/Drawers.html
**** State Change Log
Logs updates can bleed into the notes. Sticking them in a drawer works as a better escape then indentations.
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq org-log-into-drawer t)
#+end_src
**** Clock drawers
#+begin_src emacs-lisp :tangle "+orgmode.el" :noweb no-export :comments no
(setq org-clock-into-drawer t)
#+end_src
*** Roam
I use =org-roam= v2 for most of my note taking. TODO expand this section.
**** Dailies Templates