NeoVIM: add undo tree plugin
This commit is contained in:
parent
2c5886bfbe
commit
2eee8ff406
1 changed files with 8 additions and 0 deletions
8
Configs/nvim/lua/plugins/undotree.lua
Normal file
8
Configs/nvim/lua/plugins/undotree.lua
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
return {
|
||||||
|
"jiaoshijie/undotree",
|
||||||
|
dependencies = "nvim-lua/plenary.nvim",
|
||||||
|
config = true,
|
||||||
|
keys = { -- load the plugin only when using it's keybinding:
|
||||||
|
{ "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
|
||||||
|
},
|
||||||
|
}
|
Loading…
Reference in a new issue