2023-10-16 21:39:14 -07:00
|
|
|
return {
|
|
|
|
"nvim-neorg/neorg",
|
2023-10-17 07:45:29 -07:00
|
|
|
lazy = false,
|
2023-10-16 21:39:14 -07:00
|
|
|
build = ":Neorg sync-parsers",
|
|
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
2023-10-17 07:45:29 -07:00
|
|
|
keys = {
|
|
|
|
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Index" },
|
|
|
|
{ "<leader>ns", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Generate Workspace Summary" },
|
|
|
|
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Journal Today" },
|
|
|
|
{ "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Journal Template" },
|
|
|
|
},
|
2023-10-16 21:39:14 -07:00
|
|
|
config = function()
|
|
|
|
require("neorg").setup {
|
|
|
|
load = {
|
2023-10-17 07:45:29 -07:00
|
|
|
["core.defaults"] = {},
|
|
|
|
["core.summary"] = {},
|
|
|
|
["core.ui.calendar"] = {},
|
|
|
|
["core.concealer"] = {
|
|
|
|
icon_preset = "diamond"
|
|
|
|
},
|
|
|
|
["core.dirman"] = {
|
2023-10-16 21:39:14 -07:00
|
|
|
config = {
|
|
|
|
workspaces = {
|
|
|
|
notes = "~/notes",
|
2023-10-17 07:45:29 -07:00
|
|
|
til = "~/til",
|
2023-10-16 21:39:14 -07:00
|
|
|
},
|
2023-10-17 07:45:29 -07:00
|
|
|
default_workspace = "notes",
|
2023-10-16 21:39:14 -07:00
|
|
|
},
|
|
|
|
},
|
|
|
|
},
|
|
|
|
}
|
|
|
|
end,
|
|
|
|
}
|