refactor(nvim): replace undotree with mundo

This commit is contained in:
Price Hiller 2022-08-28 21:01:14 -05:00
parent 61ed055966
commit d06088825c
2 changed files with 4 additions and 8 deletions

View File

@ -143,8 +143,8 @@ vim.keymap.set("n", "<leader>pc", packer_compile, {
desc = "PackerCompile",
})
-- Undotree mappings
vim.keymap.set("n", "<leader>ut", ":UndotreeToggle<CR>")
-- Mundo mappings
vim.keymap.set("n", "<leader>ut", ":MundoToggle<CR>")
-- Hop Mappings
local hop = require("hop")

View File

@ -699,13 +699,9 @@ return packer.startup({
end,
})
-- Undotree, similar to git branch history
-- Mundo, browse and apply undo history
use({
"mbbill/undotree",
cmd = "UndotreeToggle",
setup = function()
vim.g.undotree_WindowLayout = 3
end,
"simnalamburt/vim-mundo",
})
-- Allows repeating actions and more