Util
vim-startuptime
measure startuptime
- Options
- Full Spec
opts = {}
{
"dstein64/vim-startuptime",
cmd = "StartupTime",
config = function()
vim.g.startuptime_tries = 10
end,
}
persistence.nvim
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.
- Options
- Full Spec
opts = { options = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp" } }
{
"folke/persistence.nvim",
event = "BufReadPre",
opts = { options = { "buffers", "curdir", "tabpages", "winsize", "help", "globals", "skiprtp" } },
-- stylua: ignore
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 = "Don't Save Current Session" },
},
}
plenary.nvim
library used by other plugins
- Options
- Full Spec
opts = nil
{ "nvim-lua/plenary.nvim", lazy = true }