diff options
| author | Trey Bastian <hello@treybastian.com> | 2026-03-30 13:33:23 +0100 |
|---|---|---|
| committer | Trey Bastian <hello@treybastian.com> | 2026-03-30 13:33:23 +0100 |
| commit | 709022fa23375485fa2cda6c144814f2fa02a7b2 (patch) | |
| tree | 77ebef131ca1971e889ad9e69ac2753ddcbd4544 /lua | |
| parent | 42cf95452884c0d652bf08c0c17a309b7ee4ce35 (diff) | |
added builtin undotree
Diffstat (limited to 'lua')
| -rw-r--r-- | lua/config/keys.lua | 3 |
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>") |
