From b1238001565e66ced85bfe4c05f0735b186dc765 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Wed, 18 Sep 2024 01:23:24 -0700 Subject: [PATCH] feat: add undotree --- config/keymaps.nix | 8 ++++++++ config/plugins/qol.nix | 1 + 2 files changed, 9 insertions(+) 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 = {