radiant.nvim/lua/core/neorg.lua

30 lines
647 B
Lua

require("neorg").setup {
load = {
["core.defaults"] = {},
["core.dirman"] = {
config = {
workspaces = {
notes = "~/NAS/Documents/Neorg/",
},
},
},
["core.concealer"] = {
config = {
folds = false,
icons_preset = "varied",
},
},
},
}
-- Keybinds
local wk = require("which-key")
wk.register({
n = {
name = "neorg",
f = { "<cmd>Telescope find_files search_dirs=~/NAS/Documents/Neorg<cr>", "Search for notes" },
d = { "<cmd>Telescope find_files search_dirs=~/NAS/Documents/Typst<cr>", "Search Typst Documents" },
},
}, { prefix = "<leader>" })