- Create a Daily folder
- Create a DayTemplate note
- Type
Cmd + ,
to go to Settings (or use the UI) - set “New file location” and “Template file location” as follow - Create a new day with
Cmd + P
then type “today” again to open Today’s note - You should see a cooler template than an empty file. Copy the following content to be the same as 2024-07-23
- Pretend we have created daily notes for many days, by adding more files in the same Daily folder 2024-07-24 and 2024-07-25. You should have files that look like this:
- Go to 2024-07-23 and type
Cmd + P
and type “daily” and navigate “next day” and “previous day” to get the hang of the Daily Notes core plugin. - Voila! See Bonus section below for how we can make sense of habit tracking data thanks to the metadata
key:: value
format.
I used an AI plugin to generate the above template using OpenAI gpt-4o-mini
You can check out that chat in generate daily notes
Bonus
- Install Dataview plugin by going to Settings ⇒ Community Plugins ⇒ Browse → search “Dataview” ⇒ Install → Enable
- Create a new “Habit Tracking Dashboard” note and paste the following script in it. See it in action at Habit Tracking Dashboard
```dataview
table
Wakeup as "Wakeup Time",
Exercise as "Exercise",
WordCount as "Word Count",
HoursOfSleep as "Hours of Sleep",
Reading as "Reading Time",
Meditation as "Meditation Time",
WaterIntake as "Water Intake"
from "Daily"
sort date desc
I also used AI to generate the above dataview query
See chat in generate habit tracker