summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/undotree.lua
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/plugins/undotree.lua')
-rw-r--r--.config/nvim/lua/plugins/undotree.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/undotree.lua b/.config/nvim/lua/plugins/undotree.lua
new file mode 100644
index 0000000..8a416b1
--- /dev/null
+++ b/.config/nvim/lua/plugins/undotree.lua
@@ -0,0 +1,8 @@
+return {
+ "mbbill/undotree",
+ lazy = true,
+ cmd = { "UndotreeToggle" },
+ keys = {
+ { "<leader>u", vim.cmd.UndotreeToggle, desc = "Toggle undotree" },
+ },
+}