34 lines
994 B
Lua
34 lines
994 B
Lua
return {
|
|
"nvim-neorg/neorg",
|
|
lazy = false,
|
|
build = ":Neorg sync-parsers",
|
|
dependencies = { "nvim-lua/plenary.nvim" },
|
|
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" },
|
|
},
|
|
config = function()
|
|
require("neorg").setup {
|
|
load = {
|
|
["core.defaults"] = {},
|
|
["core.summary"] = {},
|
|
["core.ui.calendar"] = {},
|
|
["core.concealer"] = {
|
|
icon_preset = "diamond"
|
|
},
|
|
["core.dirman"] = {
|
|
config = {
|
|
workspaces = {
|
|
notes = "~/notes",
|
|
til = "~/til",
|
|
},
|
|
default_workspace = "notes",
|
|
},
|
|
},
|
|
},
|
|
}
|
|
end,
|
|
}
|