NeoVimConfiguration/lua/plugins/org.lua

48 lines
1.4 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",
},
s = {
description = "summary",
template = "#+filetags: summary\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
target = "literature%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
},
a = {
description = "atomic",
template = "#+filetags: summary\n\n* %?\n** Description\n",
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',
},
},
},
}