diff --git a/lua/custom/plugins/undotree.lua b/lua/custom/plugins/undotree.lua new file mode 100644 index 00000000..cf4f5a1e --- /dev/null +++ b/lua/custom/plugins/undotree.lua @@ -0,0 +1,8 @@ +return { + 'jiaoshijie/undotree', + dependencies = 'nvim-lua/plenary.nvim', + config = true, + keys = { -- load the plugin only when using it's keybinding: + { 'u', "lua require('undotree').toggle()" }, + }, +}