X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/4ee70171591f53ee27d08945239062c420c461d5..fe358daaa866d155d69996e3c9b36a23d934d365:/nvim/lua/plugins/productivity.lua diff --git a/nvim/lua/plugins/productivity.lua b/nvim/lua/plugins/productivity.lua index c7029b7..8b91501 100644 --- a/nvim/lua/plugins/productivity.lua +++ b/nvim/lua/plugins/productivity.lua @@ -98,20 +98,56 @@ SCHEDULED: %t }, }, }, + }, + { "nvim-neorg/neorg", + lazy = false, + version = "*", dependencies = { - { - "nvim-treesitter", - opts = function(_, opts) - if type(opts.highlight) == "table" then - opts.hightlight = vim.tbl_extend("error", opts.highlight, { - additional_vim_regex_highlighting = { "org" }, - }) - end - if type(opts.ensure_installed) == "table" then - vim.list_extend(opts.ensure_installed, { "org" }) - end - end, - }, + "nvim-lua/plenary.nvim", + "luarocks.nvim", }, + opts = { + load = { + ["core.defaults"] = {}, + ["core.concealer"] = { + config = { + icon_preset = "diamond" + } + }, + ["core.dirman"] = { + config = { + workspaces = { + home = "~/norg/home", + }, + default_workspace = "home", + }, + }, + ["core.keybinds"] = { + config = { + neorg_leader = "go", + hook = function(keybinds) + -- keybinds.remap_key("norg", "i", "", "") -- rebind core.itero.next-iteration + keybinds.remap_event("all", "n", "", "core.looking-glass.magnify-code-block") + end, + }, + }, + ["core.summary"] = { + config = { + strategy = "by_path", + }, + }, + ["core.itero"] = {}, + ["core.promo"] = {}, + ["core.journal"] = { + config = { + journal_folder = "journal", + }, + }, + ["core.looking-glass"] = {}, + ["core.qol.todo_items"] = {}, + ["core.tangle"] = {}, + ["core.ui.calendar"] = {}, + }, + } }, }