init.lua/lua/plugins/orgmode.lua(view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
local prefix = "<C-c>"
---@type LazySpec
return {
"nvim-orgmode/orgmode",
ft = { "org" },
keys = { prefix },
dependencies = {
{ "akinsho/org-bullets.nvim", config = true },
{
"nvim-orgmode/telescope-orgmode.nvim",
ft = { "org" },
dependencies = { "telescope.nvim" },
config = function()
require("telescope").load_extension "orgmode"
end,
},
},
---@module "orgmode"
---@type OrgDefaultConfig
opts = {
org_default_notes_file = "~/org/refile.org",
org_agenda_files = "~/org/**/*",
mappings = {
prefix = prefix,
},
},
}
|