Added org mode back in
This commit is contained in:
parent
a519bfa721
commit
d0e7866ae9
1 changed files with 53 additions and 0 deletions
53
lua/plugins/org.lua
Normal file
53
lua/plugins/org.lua
Normal file
|
|
@ -0,0 +1,53 @@
|
|||
return {
|
||||
{
|
||||
"chipsenkbeil/org-roam.nvim",
|
||||
tag = "0.1.1",
|
||||
opts = {
|
||||
directory = "~/Sync/wiki/org/roam/",
|
||||
--org_files = {
|
||||
-- "~/another_org_dir",
|
||||
-- "~/some/folder/*.org",
|
||||
-- "~/a/single/org_file.org",
|
||||
--}
|
||||
templates = {
|
||||
d = {
|
||||
description = "default",
|
||||
template = "%?",
|
||||
target = "%<%Y%m%d%H%M%S>-%[slug].org",
|
||||
},
|
||||
f = {
|
||||
description = "fleeting",
|
||||
template = "#+filetags: fleeting\n\n%?",
|
||||
target = "fleeting%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
|
||||
},
|
||||
l = {
|
||||
description = "literature",
|
||||
template = "#+filetags: literature\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
|
||||
target = "literature%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
|
||||
},
|
||||
r = {
|
||||
description = "reference",
|
||||
template = "#+filetags: reference\n\n* %?\n** Description\n\n** Notes\n - pg 1: ",
|
||||
target = "reference%[sep]%<%Y%m%d%H%M%S>-%[slug].org",
|
||||
},
|
||||
m = {
|
||||
description = "main",
|
||||
template = "%?",
|
||||
target = "%<%Y%m%d%H%M%S>-%[slug].org",
|
||||
},
|
||||
},
|
||||
},
|
||||
dependencies = {
|
||||
'nvim-orgmode/orgmode',
|
||||
opts = {
|
||||
org_agenda_files = { '~/Sync/wiki/org/**/*.org' },
|
||||
org_default_notes_file = '~/Sync/wiki/org/refile.org',
|
||||
org_todo_keywords = { 'TODO(t)', 'NEXT(n)', '|', 'HOLD(h)', 'DONE(d)' }
|
||||
},
|
||||
dependencies = {
|
||||
{ 'nvim-treesitter/nvim-treesitter', lazy = true },
|
||||
'akinsho/org-bullets.nvim',
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Loading…
Reference in a new issue