nvim-config/lua/plugins/neorg.lua

35 lines
1,022 B
Lua
Raw Normal View History

2023-10-16 21:39:14 -07:00
return {
"nvim-neorg/neorg",
lazy = false,
2023-10-16 21:39:14 -07:00
build = ":Neorg sync-parsers",
dependencies = { "nvim-lua/plenary.nvim" },
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-16 21:39:14 -07:00
config = function()
require("neorg").setup {
load = {
["core.defaults"] = {},
["core.summary"] = {},
["core.concealer"] = {
2023-10-17 07:58:27 -07:00
config = {
icon_preset = "diamond",
},
},
["core.dirman"] = {
2023-10-16 21:39:14 -07:00
config = {
workspaces = {
notes = "~/notes",
til = "~/til",
2023-10-16 21:39:14 -07:00
},
default_workspace = "notes",
2023-10-16 21:39:14 -07:00
},
},
},
}
end,
}