summaryrefslogtreecommitdiff
path: root/lua/custom/plugins/undotree.lua
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2024-12-04 18:48:24 -0500
committertdback <tyler@tdback.net>2024-12-04 18:48:24 -0500
commit3b2163b821f4dbf1003804b9b19fd276dc4bc350 (patch)
tree809a679142eae8e7d3b4d2b3cf1426416883a7f9 /lua/custom/plugins/undotree.lua
initial commit to new repo
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,
+}