neovim: add undotree
This commit is contained in:
4
neovim/.config/nvim/after/plugin/undotree.lua
Normal file
4
neovim/.config/nvim/after/plugin/undotree.lua
Normal file
@@ -0,0 +1,4 @@
|
||||
vim.opt.undodir = os.getenv("HOME") .. ".vim/undodir"
|
||||
vim.opt.undofile = true
|
||||
|
||||
vim.keymap.set("n", "<leader>u", vim.cmd.UndotreeToggle)
|
||||
Reference in New Issue
Block a user