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 = {
|
2023-11-05 20:26:08 -08:00
|
|
|
{ "<leader>ni", "<cmd>Neorg index<cr>", desc = "Neorg index" },
|
|
|
|
{ "<leader>nw", "<cmd>Neorg generate-workspace-summary<cr>", desc = "Neorg generate Workspace Summary" },
|
|
|
|
{ "<leader>njt", "<cmd>Neorg journal today<cr>", desc = "Neorg Journal Today" },
|
|
|
|
{ "<leader>njT", "<cmd>Neorg journal template<cr>", desc = "Neorg Journal Template" },
|
2023-10-17 07:45:29 -07:00
|
|
|
},
|
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.concealer"] = {
|
2023-10-17 07:58:27 -07:00
|
|
|
config = {
|
|
|
|
icon_preset = "diamond",
|
|
|
|
},
|
2023-10-17 07:45:29 -07:00
|
|
|
},
|
|
|
|
["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,
|
|
|
|
}
|