mirror of
https://github.com/tomru/vim.git
synced 2026-03-03 06:27:18 +01:00
configure orgmode
This commit is contained in:
@@ -1,18 +0,0 @@
|
|||||||
return {
|
|
||||||
'nvim-neorg/neorg',
|
|
||||||
build = ':Neorg sync-parsers',
|
|
||||||
opts = {
|
|
||||||
load = {
|
|
||||||
['core.defaults'] = {}, -- Loads default behaviour
|
|
||||||
['core.concealer'] = {}, -- Adds pretty icons to your documents
|
|
||||||
['core.dirman'] = { -- Manages Neorg workspaces
|
|
||||||
config = {
|
|
||||||
workspaces = {
|
|
||||||
notes = '~/notes',
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
},
|
|
||||||
dependencies = { { 'nvim-lua/plenary.nvim' } },
|
|
||||||
}
|
|
||||||
21
lua/custom/plugins/orgmode.lua
Normal file
21
lua/custom/plugins/orgmode.lua
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
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,
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user