diff --git a/lua/lazyvim/plugins/extras/editor/undotree.lua b/lua/lazyvim/plugins/extras/editor/undotree.lua new file mode 100644 index 00000000..b220f16e --- /dev/null +++ b/lua/lazyvim/plugins/extras/editor/undotree.lua @@ -0,0 +1,13 @@ +return { + { + "mbbill/undotree", + cmd = "UndotreeToggle", + keys = { + { "uu", "UndotreeToggle", desc = "Undo Tree Toggle" }, + }, + init = function() + -- set layout style to 2, let g:undotree_WindowLayout = 2 + vim.g.undotree_WindowLayout = 2 + end, + }, +}