, but sleep logging is in a 'private' config for some reason, so I'll just paste it here:
(setq --my/extra-capture-templates
'(("s"
"sleep"
table-line
(file+headline "/path/to/capture.org" "sleep table")
"| %U | %? | | | |")))
"sleep table" is the heading, under which the table is contained. So:- I press the capture hotkey (F4 for me)
- then 's' which prompts me for a table line
- %U automatically substitutes the timestamp
- the cursor is placed at %? (second column), so I can just log whatever I need to, tab for the next column, and then finish capture