2023-01-01 09:56:36 +01:00
|
|
|
return {
|
|
|
|
|
2023-07-20 17:16:13 -04:00
|
|
|
-- Session management. This saves your session in the background,
|
|
|
|
-- keeping track of open buffers, window arrangement, and more.
|
|
|
|
-- You can restore sessions when returning through the dashboard.
|
2023-01-04 13:29:47 +01:00
|
|
|
{
|
|
|
|
"folke/persistence.nvim",
|
|
|
|
event = "BufReadPre",
|
2024-07-14 18:11:15 +02:00
|
|
|
opts = {},
|
2023-01-04 13:34:29 +01:00
|
|
|
-- stylua: ignore
|
2023-01-04 13:29:47 +01:00
|
|
|
keys = {
|
2023-01-04 13:34:29 +01:00
|
|
|
{ "<leader>qs", function() require("persistence").load() end, desc = "Restore Session" },
|
|
|
|
{ "<leader>ql", function() require("persistence").load({ last = true }) end, desc = "Restore Last Session" },
|
2023-01-06 19:43:06 +01:00
|
|
|
{ "<leader>qd", function() require("persistence").stop() end, desc = "Don't Save Current Session" },
|
2023-01-04 13:29:47 +01:00
|
|
|
},
|
|
|
|
},
|
|
|
|
|
2023-01-03 21:05:22 +01:00
|
|
|
-- library used by other plugins
|
2023-01-16 16:49:16 +01:00
|
|
|
{ "nvim-lua/plenary.nvim", lazy = true },
|
2023-01-01 09:56:36 +01:00
|
|
|
}
|