{vars, ...}: { plugins.neorg = { enable = true; modules = { "core.defaults" = { __empty = null; }; "core.concealer" = { config = { init_open_folds = "auto"; }; }; "core.dirman" = { config = { inherit (vars.notes) workspaces; default_workspace = "general"; }; }; "core.completion" = { config = { engine = "nvim-cmp"; }; }; "core.summary" = { __empty = null; }; "core.tangle" = { __empty = null; }; "core.export" = { config = { export_dir = "~/Sync/notes-export"; }; }; "core.export.markdown" = { __empty = null; }; "core.esupports.metagen" = { config = { type = "auto"; author = vars.name; }; }; "core.integrations.telescope" = { __empty = null; }; "core.ui.calendar" = { __empty = null; }; }; }; keymaps = [ { key = "ni"; action = ":Neorg index"; } { key = "nt"; action = ":Neorg toc"; } { key = "nw"; action = ":Telescope neorg switch-workspace"; } { key = "nc"; action = ":Neorg toggle-concealer"; } ]; }