From 59d12f1864187291b906efb79dbd0c9b1772f069 Mon Sep 17 00:00:00 2001
From: zaeph org-capture
(see (org)capture), or using Org-roam’s daily notes
-functionality (see Daily Notes). This provides a central inbox for collecting
+functionality (see Daily-notes). This provides a central inbox for collecting
thoughts, to be processed later into permanent notes.
Permanent notes are further split into two categories: literature notes and diff --git a/manual/Capturing-and-finding-daily_002dnotes.html b/manual/Capturing-and-finding-daily_002dnotes.html new file mode 100644 index 0000000..ee9791b --- /dev/null +++ b/manual/Capturing-and-finding-daily_002dnotes.html @@ -0,0 +1,121 @@ + + + + +
+ ++Next: Navigation, Previous: Configuration, Up: Daily-notes [Contents]
+org-roam-dailies-capture-today
&optional goto
+
+Create an entry in the daily note for today. +
+When goto
is non-nil, go the note without creating an entry.
+
org-roam-dailies-find-today
+
+Find the daily note for today, creating it if necessary. +
There are variants of those commands for -yesterday
and -tomorrow
:
+
org-roam-dailies-capture-yesterday
n &optional goto
+
+Create an entry in the daily note for yesteday. +
+With numeric argument n
, use the daily note n
days in the past.
+
org-roam-dailies-find-yesterday
+
+With numeric argument N, use the daily-note N days in the future. +
There are also commands which allow you to use Emacs’s calendar
to find the date
+
org-roam-dailies-capture-date
+
+Create an entry in the daily note for a date using the calendar. +
+Prefer past dates, unless prefer-future
is non-nil.
+
With a ’C-u’ prefix or when goto
is non-nil, go the note without
+creating an entry.
+
org-roam-dailies-find-date
+
+Find the daily note for a date using the calendar, creating it if necessary. +
+Prefer past dates, unless prefer-future
is non-nil.
+
+Next: Capturing and finding daily-notes, Up: Daily-notes [Contents]
+For org-roam-dailies
to work, you need to define two variables:
+
org-roam-dailies-directory
+
+Path to daily-notes. +
+org-roam-dailies-capture-templates
+
+Capture templates for daily-notes in Org-roam. +
Here is a sane default configuration: +
+(setq org-roam-dailies-directory "daily/") + +(setq org-roam-dailies-capture-templates + '(("d" "default" entry + #'org-roam-capture--get-point + "* %?" + :file-name "daily/%<%Y-%m-%d>" + :head "#+title: %<%Y-%m-%d>\n\n"))) +
Make sure that org-roam-dailies-directory
appears in :file-name
for your
+notes to be recognized as daily-notes. You can have different templates
+placing their notes in different directories, but the one in
+org-roam-dailies-directory
will be considered as the main one in commands.
+
See The Templating System for creating new
+templates. org-roam-dailies
provides an extra :olp
option which allows
+specifying the outline-path to a heading:
+
(setq org-roam-dailies-capture-templates + '(("l" "lab" entry + #'org-roam-capture--get-point + "* %?" + :file-name "daily/%<%Y-%m-%d>" + :head "#+title: %<%Y-%m-%d>\n\n* Lab notes\n* Journal" + :olp ("Journal")) + + ("j" "journal" entry + #'org-roam-capture--get-point + "* %?" + :file-name "daily/%<%Y-%m-%d>" + :head "#+title: %<%Y-%m-%d>\n\n* Lab notes\n* Journal" + :olp ("Lab notes")))) +
The template l
will put its notes under the heading ‘Lab notes’, and the
+template j
will put its notes under the heading ‘Journal’. When you use
+:olp
, make sure that the headings are present in :head
.
+
+Previous: Capturing and finding daily-notes, Up: Daily-notes [Contents]
+You can navigate between daily-notes: +
+org-roam-dailies-find-directory
+
+Find and open org-roam-dailies-directory
.
+
org-roam-dailies-find-previous-note
+
+When in an daily-note, find the previous one. +
+org-roam-dailies-find-next-note
+
+When in an daily-note, find the next one. +