From 348fb961215427929a6ad9fa90b50ae404fac73a Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Thu, 5 Jun 2025 15:01:31 +0900 Subject: updates --- ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua') diff --git a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua index 9f856b6..3788279 100644 --- a/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua +++ b/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua @@ -133,6 +133,7 @@ return { wk.add({ mode = { "n", "v", "x" }, { "g", group = "Git" }, + { "gt", group = "Toggle" }, }) end, }, @@ -157,15 +158,8 @@ return { }, { "mbbill/undotree", - init = function() - local wk = require("which-key") - wk.add({ - mode = { "n", "v" }, - { "gt", group = "Toggle" }, - }) - end, config = function() - vim.keymap.set("n", "gtu", vim.cmd.UndotreeToggle, { desc = "Toggle undo tree" }) + vim.keymap.set("n", "gu", vim.cmd.UndotreeToggle, { desc = "Undo tree" }) end, }, { -- cgit v1.2.3