diff --git a/config/keymaps.nix b/config/keymaps.nix index 1ce1f35..554bf77 100644 --- a/config/keymaps.nix +++ b/config/keymaps.nix @@ -750,5 +750,13 @@ desc = "Toggle autoformat in buffer"; }; } + { + action = ":UndotreeToggle"; + key = "u"; + options = { + noremap = true; + desc = "Open undotree"; + }; + } ]; } diff --git a/config/plugins/qol.nix b/config/plugins/qol.nix index 53a2e4c..f2f6c33 100644 --- a/config/plugins/qol.nix +++ b/config/plugins/qol.nix @@ -25,6 +25,7 @@ }; trouble.enable = true; barbecue.enable = true; + undotree.enable = true; lualine = { enable = true; settings = {