diff --git a/.config/nvim/lua/plugins/undotree.lua b/.config/nvim/lua/plugins/undotree.lua index f87fdc0..fea3779 100644 --- a/.config/nvim/lua/plugins/undotree.lua +++ b/.config/nvim/lua/plugins/undotree.lua @@ -1,6 +1,12 @@ return { "mbbill/undotree", keys = { - { "", "UndotreeToggleUndotreeFocus" }, + { + "", + function() + vim.cmd.UndotreeToggle(); + vim.cmd.UndotreeFocus(); + end + }, }, }