Files
nvim/lua/conf/plugins/undotree.lua
2024-11-19 13:40:12 -06:00

13 lines
239 B
Lua

local misc = require('core.misc')
local map = misc.map
return { 'mbbill/undotree',
function()
if vim.g.loaded_undotree then
vim.g.undotree_DiffAutoOpen = 0
end
map("n", "<leader>u", "<cmd>UndotreeToggle<CR>")
end
}