From c97a7a128495693813b21d8323db5ba7cf2dc04b Mon Sep 17 00:00:00 2001 From: TheSoeren Date: Thu, 6 Jun 2024 16:40:06 +0200 Subject: [PATCH] add undotree --- lua/custom/plugins/undotree.lua | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 lua/custom/plugins/undotree.lua 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()" }, + }, +}