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,6 +245,8 @@ 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",
@ -253,9 +255,13 @@ require('lazy').setup({
l = { l = {
description = "Log", description = "Log",
template = '* %?\n%U' template = '* %?\n%U'
}
}, },
org_id_link_to_org_use_id = true, j = {
description = "Journal",
template = '* %?\n%U',
target = '~/orgfiles/journal.org',
},
},
}) })
end, end,
}, },