diff --git a/.config/nvim/lua/lazyvim/plugins/neorg.lua b/.config/nvim/lua/lazyvim/plugins/neorg.lua new file mode 100644 index 0000000..5ee8227 --- /dev/null +++ b/.config/nvim/lua/lazyvim/plugins/neorg.lua @@ -0,0 +1,36 @@ +return { + "nvim-neorg/neorg", + cmd = "Neorg", + event = "BufEnter *.norg", + dependencies = "nvim-treesitter", + build = ":Neorg sync-parsers", + opts = { + load = { + ["core.defaults"] = {}, + ["core.norg.concealer"] = {}, + ["core.norg.dirman"] = { + config = { + workspaces = { + work = "~/work/notes", + personal = "~/notes", + }, + }, + }, + ["core.norg.completion"] = { + config = { + engine = "nvim-cmp", + }, + }, + ["core.presenter"] = { + config = { + zen_mode = "zen-mode", + }, + }, + }, + }, + -- keys = { + -- { "nn", "Neorg", desc = "Open Neorg" }, + -- { "nj", "Neorg journal", desc = "Journal" }, + -- { "nw", "Neorg workspace", desc = "Workspace" }, + -- }, +}