dotfiles/.config/nvim/lua/plugins/history.lua

23 lines
450 B
Lua
Raw Normal View History

2025-06-11 09:23:53 -07:00
return {
{
"mbbill/undotree",
lazy = true,
keys = {
{ "<leader>fh", "<cmd>UndotreeToggle<cr>", desc = "Toggle Undotree" },
},
},
{
"pocco81/auto-save.nvim",
2025-06-17 22:38:32 -07:00
event = { "InsertLeave", "TextChanged" },
config = function()
require("auto-save").setup({
enabled = true,
trigger_events = { "InsertLeave", "TextChanged" },
})
end,
2025-06-11 09:23:53 -07:00
keys = {
{ "<leader>as", "<cmd>ASToggle<cr>", desc = "Toggle Auto Save" },
},
},
}