Super simple script to add a header to today’s note with links to yesterday’s and tomorrow’s note:
The Markdown for this header template can just be copied from one daily note to another and adjusted for each day or you can use a script to paste it with a shortcut of your choice (here with Autohokey)
<< Yesterday `[[link to yesterday's daily note]]` | `[[link to tomorrows's daily note]]` Tomorrow >>
`[[link to capture note]]`
---
your notes
Autohotkey script:
```
; Syntax
; ^ = CTRL
; ! = ALT
; + = SHIFT
; # = WIN
; :: = run when pressed keys together
^+d:: ; so here it will trigger pressing CTRL+SHIFT+D together
yesterday := a_now
yesterday += -1, days
tomorrow := a_now
tomorrow += 1, days
FormatTime, tomorrow, %tomorrow%, yyyy-MM-dd
FormatTime, yesterday, %yesterday%, yyyy-MM-dd
SendInput, << Yesterday **[[Daily notes/%yesterday% | %yesterday%]]**{space}|{space}**[[Daily notes/%tomorrow% | %tomorrow%]]** Tomorrow >>
Send, {Enter}
Send, {Enter}
SendInput, **[[000 Capture]]**
Send, {Enter}
Send, {Enter}---
Send, {Enter}
Return
```