aboutsummaryrefslogtreecommitdiffstats
path: root/lua/plugins/undotree.lua
diff options
context:
space:
mode:
authorElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
committerElvis Claros Castro <elvis@claros.ar>2024-07-11 05:12:18 -0300
commit1fd0af14d592d612c2aaab7717c04c8806ba3daa (patch)
tree46aa59ff785305fcc05209091aecf64ca89e05fb /lua/plugins/undotree.lua
parentfb448577edebb1b093e6cc097c201151385986f8 (diff)
downloadnvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.tar.gz
nvim-conf-1fd0af14d592d612c2aaab7717c04c8806ba3daa.zip
Feat: Todo actulizado
Diffstat (limited to 'lua/plugins/undotree.lua')
-rw-r--r--lua/plugins/undotree.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/lua/plugins/undotree.lua b/lua/plugins/undotree.lua
new file mode 100644
index 0000000..3f96d83
--- /dev/null
+++ b/lua/plugins/undotree.lua
@@ -0,0 +1,11 @@
+return {
+ "mbbill/undotree",
+ lazy = false, -- needs to be explicitly set, because of the keys property
+ keys = {
+ {
+ "<leader>u",
+ vim.cmd.UndotreeToggle,
+ desc = "Toggle undotree",
+ },
+ },
+}