summaryrefslogtreecommitdiff
path: root/lua/plugins
diff options
context:
space:
mode:
authorDavid Luevano Alvarado <david@luevano.xyz>2023-06-04 05:10:35 -0600
committerDavid Luevano Alvarado <david@luevano.xyz>2023-06-04 05:10:35 -0600
commit7bd97062c98418a9bdf31df0b84737da67bed38b (patch)
tree2dd2c1783ebb46a8cdb520f14d0c2eadc9b6d357 /lua/plugins
parent04095f79281b541e640179a5535302f95ae10614 (diff)
add undotree
Diffstat (limited to 'lua/plugins')
-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' },
+ },
+}