2025-09-15 10:45:25 +02:00
|
|
|
---@type LazySpec
|
|
|
|
|
return {
|
|
|
|
|
{
|
|
|
|
|
"nvim-orgmode/orgmode",
|
|
|
|
|
event = "VeryLazy",
|
|
|
|
|
config = function()
|
|
|
|
|
-- Setup orgmode
|
|
|
|
|
require("orgmode").setup {
|
|
|
|
|
org_agenda_files = "~/orgfiles/**/*",
|
|
|
|
|
org_default_notes_file = "~/orgfiles/refile.org",
|
|
|
|
|
mappings = {
|
|
|
|
|
global = {
|
2026-03-11 09:58:27 +01:00
|
|
|
org_capture = "<leader>Oc",
|
|
|
|
|
org_agenda = "<leader>Oa",
|
2025-09-15 10:45:25 +02:00
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
{
|
|
|
|
|
"chipsenkbeil/org-roam.nvim",
|
|
|
|
|
tag = "0.2.0",
|
|
|
|
|
dependencies = {
|
|
|
|
|
{
|
|
|
|
|
"nvim-orgmode/orgmode",
|
|
|
|
|
tag = "0.7.0",
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
config = function()
|
|
|
|
|
require("org-roam").setup {
|
|
|
|
|
directory = "~/org_roam_files",
|
|
|
|
|
-- optional
|
|
|
|
|
org_files = {
|
|
|
|
|
"~/orgfiles",
|
|
|
|
|
-- "~/some/folder/*.org",
|
|
|
|
|
-- "~/a/single/org_file.org",
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
end,
|
|
|
|
|
},
|
|
|
|
|
}
|