refactor(nvim): replace undotree with mundo
This commit is contained in:
parent
61ed055966
commit
d06088825c
@ -143,8 +143,8 @@ vim.keymap.set("n", "<leader>pc", packer_compile, {
|
|||||||
desc = "PackerCompile",
|
desc = "PackerCompile",
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Undotree mappings
|
-- Mundo mappings
|
||||||
vim.keymap.set("n", "<leader>ut", ":UndotreeToggle<CR>")
|
vim.keymap.set("n", "<leader>ut", ":MundoToggle<CR>")
|
||||||
|
|
||||||
-- Hop Mappings
|
-- Hop Mappings
|
||||||
local hop = require("hop")
|
local hop = require("hop")
|
||||||
|
@ -699,13 +699,9 @@ return packer.startup({
|
|||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Undotree, similar to git branch history
|
-- Mundo, browse and apply undo history
|
||||||
use({
|
use({
|
||||||
"mbbill/undotree",
|
"simnalamburt/vim-mundo",
|
||||||
cmd = "UndotreeToggle",
|
|
||||||
setup = function()
|
|
||||||
vim.g.undotree_WindowLayout = 3
|
|
||||||
end,
|
|
||||||
})
|
})
|
||||||
|
|
||||||
-- Allows repeating actions and more
|
-- Allows repeating actions and more
|
||||||
|
Loading…
Reference in New Issue
Block a user