diff --git a/lua/plugins/org.lua b/lua/plugins/org.lua new file mode 100644 index 0000000..8c538ec --- /dev/null +++ b/lua/plugins/org.lua @@ -0,0 +1,53 @@ +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', + }, + }, + }, +}