X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/84e2deef3e6453881262f3cc49e2f38187383bc4..0e98b150a124a4641abc5b0ea67d67f1a7fb32eb:/nvim/lua/plugins/productivity.lua?ds=inline diff --git a/nvim/lua/plugins/productivity.lua b/nvim/lua/plugins/productivity.lua index a612c82..ecae57b 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 = { @@ -113,8 +113,66 @@ SCHEDULED: %t end, }, }, - init = function() - require("orgmode").setup_ts_grammar() - end, + }, + { "nvim-neorg/neorg", + lazy = false, + version = "*", + dependencies = { + "nvim-lua/plenary.nvim", + "luarocks.nvim", + { "nvim-cmp", + opts = function(_, opts) + table.insert(opts.sources, { name = "neorg" }) + 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.completion"] = { + config = { + engine = "nvim-cmp", + } + }, + ["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"] = {}, + }, + } }, }