X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/59967b1fdbd0bc9551245cdd39a1689d5626c21d..fdd63454b51a35418ec23d3489cf20ae66a2299d:/nvim/lua/plugins/productivity.lua diff --git a/nvim/lua/plugins/productivity.lua b/nvim/lua/plugins/productivity.lua index a612c82..8b91501 100644 --- a/nvim/lua/plugins/productivity.lua +++ b/nvim/lua/plugins/productivity.lua @@ -54,7 +54,7 @@ return { org_archive_location = "archive/%s_archive::", org_log_done = 'time', org_log_into_drawer = "LOGBOOK", - org_indent_mode = "noindent", + org_startup_indented = "noindent", org_tags_column = -80, -- flushright org_todo_keywords = { "TODO(t)", "NEXT(n)", "WAITING(w)", "|", "DONE", "CANCELLED" }, org_todo_keyword_faces = { @@ -98,23 +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", }, - init = function() - require("orgmode").setup_ts_grammar() - end, + 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"] = {}, + }, + } }, }