aboutsummaryrefslogtreecommitdiff
path: root/.config/nvim/lua/plugins/undotree.lua
diff options
context:
space:
mode:
authordacctal <120422854+dacctal@users.noreply.github.com>2026-03-05 01:21:45 +0000
committerdacctal <120422854+dacctal@users.noreply.github.com>2026-03-05 01:21:45 +0000
commit69a722cfd33076a4d63f1d49e52bed427453eabe (patch)
tree56545e93c12a8232058a0ab2b258546418656e03 /.config/nvim/lua/plugins/undotree.lua
initial commit
Diffstat (limited to '.config/nvim/lua/plugins/undotree.lua')
-rwxr-xr-x.config/nvim/lua/plugins/undotree.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/.config/nvim/lua/plugins/undotree.lua b/.config/nvim/lua/plugins/undotree.lua
new file mode 100755
index 0000000..88a2038
--- /dev/null
+++ b/.config/nvim/lua/plugins/undotree.lua
@@ -0,0 +1,8 @@
+return {
+ "jiaoshijie/undotree",
+ dependencies = "nvim-lua/plenary.nvim",
+ config = true,
+ keys = {
+ { "<leader>u", "<cmd>lua require('undotree').toggle()<cr>" },
+ },
+}