nvim-config/lua/plugins/mind.lua

20 lines
666 B
Lua
Raw Normal View History

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" },
},
config = function()
require("mind").setup({
persistence = {
2023-02-11 15:30:04 -08:00
dataDir = "~/Documents/mind.nvim/data",
statePath = "~/Documents/mind.nvim/mind.json",
},
})
end,
}