nvim-config/lua/plugins/neorg.lua

36 lines
1 KiB
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 = {
{ "<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 = {
["core.defaults"] = {},
["core.summary"] = {},
["core.ui.calendar"] = {},
["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,
}