nvim: update: [org] use uuid & add Journal capture template

This commit is contained in:
qwjyh 2024-06-25 13:16:49 +09:00
parent ae5a5a502f
commit bb5a54144a

View file

@ -245,17 +245,23 @@ require('lazy').setup({
CANCELED = ":foreground #99AA99", CANCELED = ":foreground #99AA99",
}, },
org_archive_location = '~/orgfiles/archives/%s_archive::', org_archive_location = '~/orgfiles/archives/%s_archive::',
org_adapt_indentation = false,
org_id_link_to_org_use_id = true,
org_capture_templates = { org_capture_templates = {
t = { t = {
description = "Task", description = "Task",
template = '* TODO %?\n %u' template = '* TODO %?\n%u'
}, },
l = { l = {
description = "Log", description = "Log",
template = '* %?\n %U' template = '* %?\n%U'
} },
j = {
description = "Journal",
template = '* %?\n%U',
target = '~/orgfiles/journal.org',
},
}, },
org_id_link_to_org_use_id = true,
}) })
end, end,
}, },