1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/mind.lua

30 lines
447 B
Lua
Raw Normal View History

2023-01-10 02:38:06 +01:00
local M = {
"phaazon/mind.nvim", -- Organize shit as trees
cmd = "MindOpenMain",
}
function M.init()
vim.keymap.set(
"n",
"<leader>m",
"<cmd>MindOpenMain<cr>",
{ desc = "[M]ind panel" }
)
end
function M.config()
local mind = require("mind")
mind.setup({
persistence = {
2023-06-09 13:17:34 +02:00
state_path = "~/Projects/Mind/mind.json",
2023-01-10 02:38:06 +01:00
data_dir = "~/Mind/data",
},
ui = {
width = 50,
},
})
end
return M