feat: add undotree

This commit is contained in:
2026-04-14 16:02:49 +02:00
parent e55540bd59
commit 071081e9d8
3 changed files with 6 additions and 5 deletions
+1
View File
@@ -41,6 +41,7 @@ require("pack").setup({
"https://github.com/nvim-tree/nvim-tree.lua",
"https://github.com/stevearc/oil.nvim",
"https://github.com/hedyhli/outline.nvim",
"https://github.com/jiaoshijie/undotree",
{
"https://github.com/tree-sitter/tree-sitter-bash",
ts_parser = "bash",
+1 -5
View File
@@ -1,5 +1 @@
vim.cmd.packadd("nvim.undotree")
vim.keymap.set("n", "<leader>uu", function()
require("undotree").open({ command = "leftabove40vnew" })
end)
vim.keymap.set("n", "<leader>u", require("undotree").toggle)
+4
View File
@@ -142,6 +142,10 @@
"rev": "484e2889f3619b9da90c9b73a6f216a71947c09f",
"src": "https://github.com/georgeharker/tree-sitter-zsh"
},
"undotree": {
"rev": "0e6d41d55ad147407e4ba00a292973de8db0b836",
"src": "https://github.com/jiaoshijie/undotree"
},
"vim-fugitive": {
"rev": "3b753cf8c6a4dcde6edee8827d464ba9b8c4a6f0",
"src": "https://github.com/tpope/vim-fugitive"