return { { 'chipsenkbeil/org-roam.nvim', dependencies = { 'nvim-orgmode/orgmode', }, opts = { directory = '~/org', bindings = { prefix = 'o', }, templates = { n = { description = 'Note', template = '%?', target = '%<%Y%m%d%H%M%S>-%[slug].org', }, }, }, }, { 'nvim-orgmode/orgmode', event = 'VeryLazy', ft = { 'org' }, config = function() -- Setup orgmode require('orgmode').setup { org_agenda_files = '~/org/**/*', org_default_notes_file = '~/org/refile.org', org_todo_keywords = { 'TODO', 'WAITING', '|', 'DONE', 'DELEGATED' }, } vim.api.nvim_create_autocmd({ 'BufNewFile', 'BufRead' }, { group = vim.api.nvim_create_augroup('orgmode', { clear = true }), pattern = '*.org', callback = function() vim.opt_local.conceallevel = 2 vim.opt_local.wrap = false end, }) end, }, }