Browse Source

Cleanup template

main
parent
commit
38ab87944f
  1. 40
      modules/roam.org

40
modules/roam.org

@ -72,26 +72,6 @@ Use the ~org-roam-server~[fn:2] web application to visualize the ~org-roam~[fn:1
:hook (org-roam-mode . org-roam-server-mode)) :hook (org-roam-mode . org-roam-server-mode))
#+end_src #+end_src
** Dailies
Use the ~daily~ note feature of ~org-roam~[fn:1] to capture daily notes. Create the default capture template with some preconfigured headers.
#+begin_src emacs-lisp
(with-eval-after-load 'org-roam
(add-to-list 'org-roam-dailies-capture-templates
'("d" "Default" entry (function org-roam-capture--get-point)
"* %?"
:file-name "docs/daily/%<%Y-%m-%d>"
:head
"
,#+TITLE: %<%Y-%m-%d>
,#+AUTHOR: Christopher James Hayward
,#+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
,#+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
")))
#+end_src
* Templates * Templates
Collection of capture templates for various contexts. Here is one for a generic document. Collection of capture templates for various contexts. Here is one for a generic document.
@ -134,6 +114,26 @@ Capture template for a new course. Capture with =SPC r c c=.
"))) ")))
#+end_src #+end_src
** Dailies
Use the ~daily~ note feature of ~org-roam~[fn:1] to capture daily notes. Create the default capture template with some preconfigured headers.
#+begin_src emacs-lisp
(with-eval-after-load 'org-roam
(add-to-list 'org-roam-dailies-capture-templates
'("d" "Default" entry (function org-roam-capture--get-point)
"* %?"
:file-name "docs/daily/%<%Y-%m-%d>"
:head
"
,#+TITLE: %<%Y-%m-%d>
,#+AUTHOR: Christopher James Hayward
,#+OPTIONS: num:nil toc:nil todo:nil tasks:nil tags:nil
,#+OPTIONS: skip:nil author:nil email:nil creator:nil timestamp:nil
")))
#+end_src
* Shortcuts * Shortcuts
Configure custom keybindings for ~org-roam~[fn:1] behind =SPC r=: Configure custom keybindings for ~org-roam~[fn:1] behind =SPC r=:

Loading…
Cancel
Save