From bb5a54144ad56f2963018936c189446ca4cffb51 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Tue, 25 Jun 2024 13:16:49 +0900 Subject: [PATCH] nvim: update: [org] use uuid & add Journal capture template --- dotfiles/neovim/init.lua | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 6880513..a20dc73 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -245,17 +245,23 @@ require('lazy').setup({ CANCELED = ":foreground #99AA99", }, org_archive_location = '~/orgfiles/archives/%s_archive::', + org_adapt_indentation = false, + org_id_link_to_org_use_id = true, org_capture_templates = { t = { description = "Task", - template = '* TODO %?\n %u' + template = '* TODO %?\n%u' }, l = { 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, },