summaryrefslogtreecommitdiff
path: root/lua/custom/plugins/undotree.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/custom/plugins/undotree.lua')
-rw-r--r--lua/custom/plugins/undotree.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/lua/custom/plugins/undotree.lua b/lua/custom/plugins/undotree.lua
new file mode 100644
index 0000000..fe71c5a
--- /dev/null
+++ b/lua/custom/plugins/undotree.lua
@@ -0,0 +1,6 @@
+return {
+ "mbbill/undotree",
+ config = function()
+ vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
+ end,
+}