aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/undotree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/undotree.lua')
-rw-r--r--lua/plugins/undotree.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/undotree.lua b/lua/plugins/undotree.lua
new file mode 100644
index 0000000..3f96d83
--- /dev/null
+++ b/lua/plugins/undotree.lua
@@ -0,0 +1,11 @@
+return {
+ "mbbill/undotree",
+ lazy = false, -- needs to be explicitly set, because of the keys property
+ keys = {
+ {
+ "<leader>u",
+ vim.cmd.UndotreeToggle,
+ desc = "Toggle undotree",
+ },
+ },
+}