NeoVimConfiguration/lua/plugins/org.lua
2026-03-03 11:19:01 +00:00

53 lines
1.6 KiB
Lua

return {
{
"chipsenkbeil/org-roam.nvim",
tag = "0.1.1",
opts = {
directory = "~/Sync/wiki/org/roam/",
--org_files = {
-- "~/another_org_dir",
-- "~/some/folder/*.org",
-- "~/a/single/org_file.org",
--}
templates = {
d = {
description = "default",
template = "%?",
target = "%<%Y%m%d%H%M%S>-%[slug].org",
},
f = {
description = "fleeting",
template = "#+filetags: fleeting\n\n%?",
target = "fleeting%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
},
l = {
description = "literature",
template = "#+filetags: literature\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
target = "literature%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
},
r = {
description = "reference",
template = "#+filetags: reference\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
target = "reference%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
},
m = {
description = "main",
template = "%?",
target = "%<%Y%m%d%H%M%S>-%[slug].org",
},
},
},
dependencies = {
'nvim-orgmode/orgmode',
opts = {
org_agenda_files = { '~/Sync/wiki/org/**/*.org' },
org_default_notes_file = '~/Sync/wiki/org/refile.org',
org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'HOLD(h)', 'DONE(d)' }
},
dependencies = {
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
'akinsho/org-bullets.nvim',
},
},
},
}