Files
vim/lua/custom/plugins/orgmode.lua
2023-08-18 22:50:28 +02:00

22 lines
587 B
Lua

return {
'nvim-orgmode/orgmode',
lazy = false,
ft = { 'org' },
config = function()
require('orgmode').setup_ts_grammar()
require('orgmode').setup {
org_agenda_files = { '~/org/**/*' },
org_default_notes_file = '~/org/refile.org',
org_todo_keywords = { 'TODO(t)', 'BLCK(b)', 'WIP(w)', '|', 'DONE(d)', 'CANC(c)' },
org_capture_templates = {
t = { description = 'Task', template = '* TODO %?\n %u' },
f = {
description = 'File Task',
template = '** TODO %?\n %T\n\n %a',
},
},
}
end,
}