all repos

init.lua @ 0bdffec4bac60a9e74a9a2216dc54457bad792da

my nvim config
2 files changed, 2 insertions(+), 8 deletions(-)
refactor(orgmode): update config
Author: Oleksandr Smirnov olexsmir@gmail.com
Committed at: 2025-05-09 20:15:49 +0300
Parent: beb560e
M lua/hidden/init.lua

@@ -13,8 +13,7 @@ return r

end ---@class hidden.org ----@field weekly_template string ----@field daily_template string +---@field templates fun(merge: table): table hidden.org = wrap "hidden.org" return hidden
M lua/plugins/orgmode.lua

@@ -58,16 +58,11 @@ bindings = {

prefix = "<leader>r", find_node = "<prefix>s", }, - templates = { + templates = h.templates { n = { description = "Note", template = "%?", target = "%<%Y%m%d%H%M%S>-%[slug].org", - }, - d = { - description = "Daily", - template = h.daily_template, - target = "%r/daily/%<%Y-%m-%d>.org", }, }, ---@class org-roam.config.Extensions