mirror of
https://github.com/halfdan/dotfiles.git
synced 2025-04-26 20:35:40 +00:00
24 lines
536 B
Lua
24 lines
536 B
Lua
local orgmode = require('orgmode')
|
|
|
|
orgmode.setup_ts_grammar()
|
|
|
|
orgmode.setup({
|
|
org_agenda_files = { '~/org/*' },
|
|
org_default_notes_file = '~/org/inbox.org',
|
|
org_todo_keywords = {'TODO(t)', 'WAITING(w)', '|', 'DONE(d)', 'CANCELLED(c)'},
|
|
org_capture_templates = {
|
|
t = {
|
|
description = 'Todo',
|
|
template = '* TODO %?\n %u',
|
|
target = '~/org/inbox.org'
|
|
},
|
|
j = {
|
|
description = 'Journal',
|
|
template = '\n*** %<%Y-%m-%d> %<%A>\n**** %U\n\n%?',
|
|
target = '~/org/journal.org'
|
|
},
|
|
},
|
|
|
|
})
|
|
|