From ca3f3c8e5d115ba7d273fc1d9694e1af25471c0b Mon Sep 17 00:00:00 2001 From: Schistos Tega Date: Sun, 2 Jun 2024 21:21:07 +0300 Subject: [PATCH] add undotree plugin --- lua/custom/plugins/undotree.lua | 6 ++++++ 1 file changed, 6 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..8cbdc8e0 --- /dev/null +++ b/lua/custom/plugins/undotree.lua @@ -0,0 +1,6 @@ +return { + 'mbbill/undotree', + config = function() + vim.keymap.set('n', 'tu', vim.cmd.UndotreeToggle, { desc = '[T]oggle [U]ndo tree' }) + end, +}