mirror of
https://github.com/LazyVim/LazyVim.git
synced 2025-06-22 08:53:33 +02:00
44 lines
889 B
Lua
44 lines
889 B
Lua
return {
|
|
|
|
-- measure startuptime
|
|
{
|
|
"dstein64/vim-startuptime",
|
|
cmd = "StartupTime",
|
|
config = function()
|
|
vim.g.startuptime_tries = 10
|
|
end,
|
|
},
|
|
|
|
-- session management
|
|
{
|
|
"folke/persistence.nvim",
|
|
event = "BufReadPre",
|
|
config = { options = { "buffers", "curdir", "tabpages", "winsize", "help" } },
|
|
keys = {
|
|
{
|
|
"<leader>qs",
|
|
function()
|
|
require("persistence").load()
|
|
end,
|
|
desc = "Restore Session",
|
|
},
|
|
{
|
|
"<leader>ql",
|
|
function()
|
|
require("persistence").load({ last = true })
|
|
end,
|
|
desc = "Restore Last Session",
|
|
},
|
|
{
|
|
"<leader>qd",
|
|
function()
|
|
require("persistence").stop()
|
|
end,
|
|
desc = "Delete Current Session",
|
|
},
|
|
},
|
|
},
|
|
|
|
-- library used by other plugins
|
|
"nvim-lua/plenary.nvim",
|
|
}
|