aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrey Bastian <hello@treybastian.com>2026-03-30 13:33:23 +0100
committerTrey Bastian <hello@treybastian.com>2026-03-30 13:33:23 +0100
commit709022fa23375485fa2cda6c144814f2fa02a7b2 (patch)
tree77ebef131ca1971e889ad9e69ac2753ddcbd4544
parent42cf95452884c0d652bf08c0c17a309b7ee4ce35 (diff)
added builtin undotree
-rw-r--r--lua/config/keys.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/lua/config/keys.lua b/lua/config/keys.lua
index 8570d93..303c2d4 100644
--- a/lua/config/keys.lua
+++ b/lua/config/keys.lua
@@ -27,3 +27,6 @@ end)
vim.keymap.set("n", "]d", function()
vim.diagnostic.jump({ count = 1, float = true })
end)
+
+vim.cmd("packadd nvim.undotree") -- enable builtin undotree
+vim.keymap.set("n", "<leader>u", "<CMD>Undotree<cr>")