32 lines
574 B
Lua
32 lines
574 B
Lua
local M = {
|
|
{
|
|
"nvim-orgmode/orgmode",
|
|
tag = "0.7.0",
|
|
event = "VeryLazy",
|
|
ft = { "org" },
|
|
config = function()
|
|
require("orgmode").setup({
|
|
org_agenda_files = "~/org/**/*",
|
|
org_default_notes_file = "~/org/refile.org",
|
|
})
|
|
|
|
-- Create TANGLE command
|
|
vim.api.nvim_create_user_command("TANGLE", function()
|
|
require("orgmode").action("org_mappings.org_babel_tangle")
|
|
end, {})
|
|
end,
|
|
},
|
|
{
|
|
"chipsenkbeil/org-roam.nvim",
|
|
tag = "0.2.0",
|
|
config = function()
|
|
require("org-roam").setup({
|
|
directory = "~/org",
|
|
})
|
|
end,
|
|
},
|
|
}
|
|
|
|
return M
|
|
|