config-files/lua/plugins/orgmode.lua
2025-11-30 02:06:38 -08:00

23 lines
960 B
Lua

return {
'nvim-orgmode/orgmode',
config = function()
require('orgmode').setup({
org_todo_keywords = { 'TODO', 'STARTED', 'STUCK', '|', 'DONE' },
win_split_mode = 'vertical',
org_todo_keyword_faces = {
TODO = ':foreground red :weight bold',
STARTED = ':foreground blue :weight bold',
STUCK = ':foreground orange :weight bold',
DONE = ':foreground green :weight bold',
},
org_agenda_files = { '~/org/*.org' },
org_capture_templates = {
s = { description = 'scheduled', template = '* TODO %? \n SCHEDULED: %T', target = '~/org/inbox.org' },
t = { description = 'Task with time', template = '* TODO %^{prompt|default|} \n %t', target = '~/org/inbox.org' },
d = { description = 'deadline', template = '* TODO %? \n DEADLINE: %T', target = '~/org/inbox.org' },
r = { description = 'reply to', template = '* TODO reply to %? \n SCHEDULED: %T', target = '~/org/inbox.org' },
},
notifications = { enabled = true, reminder_time = { 1, 5, 10 } },
})
end,
}