Add UndoTree (#5)
This commit is contained in:
parent
a3ee26ebf2
commit
a5c4e11ce7
|
@ -0,0 +1,4 @@
|
|||
vim.opt.swapfile = false
|
||||
vim.opt.backup = false
|
||||
vim.opt.undodir = os.getenv("HOME") .. "/.vim/undodir"
|
||||
vim.opt.undofile = true
|
|
@ -0,0 +1 @@
|
|||
vim.keymap.set('n', '<leader><F5>', vim.cmd.UndotreeToggle, { desc = "Display undo history" })
|
|
@ -0,0 +1,3 @@
|
|||
return {
|
||||
"mbbill/undotree",
|
||||
}
|
Loading…
Reference in New Issue