summaryrefslogtreecommitdiff
path: root/lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua')
-rw-r--r--lua/plugins/undotree.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/lua/plugins/undotree.lua b/lua/plugins/undotree.lua
new file mode 100644
index 0000000..047a5ac
--- /dev/null
+++ b/lua/plugins/undotree.lua
@@ -0,0 +1,7 @@
+return {
+ 'mbbill/undotree',
+ -- lazy load on <leader>u
+ keys = {
+ { '<leader>u', '<CMD>UndotreeToggle<CR>', desc = 'Toggle [U]ndotree' },
+ },
+}