Split config
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user