feat: add undotree

This commit is contained in:
Youwen Wu 2024-09-18 01:23:24 -07:00
parent 6f76853957
commit b123800156
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
2 changed files with 9 additions and 0 deletions

View file

@ -750,5 +750,13 @@
desc = "Toggle autoformat in buffer"; desc = "Toggle autoformat in buffer";
}; };
} }
{
action = ":UndotreeToggle<CR>";
key = "<Leader>u";
options = {
noremap = true;
desc = "Open undotree";
};
}
]; ];
} }

View file

@ -25,6 +25,7 @@
}; };
trouble.enable = true; trouble.enable = true;
barbecue.enable = true; barbecue.enable = true;
undotree.enable = true;
lualine = { lualine = {
enable = true; enable = true;
settings = { settings = {