1
Fork 0
satellite/dotfiles/neovim/lua/my/plugins/mind.lua
2023-01-10 02:38:06 +01:00

30 lines
438 B
Lua

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 = {
state_path = "~/Mind/mind.json",
data_dir = "~/Mind/data",
},
ui = {
width = 50,
},
})
end
return M