From ec47c850389e61f69dc413c551e5f2438ce630df Mon Sep 17 00:00:00 2001 From: "bozo.kopic" Date: Tue, 17 Feb 2026 02:41:07 +0100 Subject: . --- nvim/lua/plugins/undotree.lua | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 nvim/lua/plugins/undotree.lua (limited to 'nvim/lua/plugins/undotree.lua') diff --git a/nvim/lua/plugins/undotree.lua b/nvim/lua/plugins/undotree.lua new file mode 100644 index 0000000..2e8aad2 --- /dev/null +++ b/nvim/lua/plugins/undotree.lua @@ -0,0 +1,9 @@ +return { + { + 'mbbill/undotree', + init = function() + vim.g.undotree_WindowLayout = 4 + vim.keymap.set('n', 'tu', vim.cmd.UndotreeToggle, {desc = 'Toggle undo (undotree)'}) + end + } +} -- cgit v1.3.1