2023-02-11 11:32:30 -08:00
|
|
|
return {
|
|
|
|
"phaazon/mind.nvim",
|
|
|
|
branch = "v2.2",
|
2023-02-23 17:55:09 -08:00
|
|
|
keys = {
|
|
|
|
{ "<leader>nm", "<cmd>MindOpenMain<cr>", desc = "Open Main Mind" },
|
|
|
|
{ "<leader>np", "<cmd>MindOpenProject<cr>", desc = "Open Mind for current project" },
|
|
|
|
{ "<leader>ns", "<cmd>MindOpenSmartProject<cr>", desc = "Open Mind for smart project" },
|
|
|
|
{ "<leader>nc", "<cmd>MindClose<cr>", desc = "Close Mind" },
|
|
|
|
{ "<leader>nr", "<cmd>MindReloadState<cr>", desc = "Mind: Reload State" },
|
|
|
|
},
|
2023-02-11 11:32:30 -08:00
|
|
|
config = function()
|
2023-02-11 14:23:51 -08:00
|
|
|
require("mind").setup({
|
|
|
|
persistence = {
|
2023-02-11 15:30:04 -08:00
|
|
|
dataDir = "~/Documents/mind.nvim/data",
|
|
|
|
statePath = "~/Documents/mind.nvim/mind.json",
|
2023-02-11 14:23:51 -08:00
|
|
|
},
|
|
|
|
})
|
2023-02-11 11:32:30 -08:00
|
|
|
end,
|
|
|
|
}
|