summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-05 15:01:31 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-05 15:01:31 +0900
commit348fb961215427929a6ad9fa90b50ae404fac73a (patch)
tree5364e9d962b48ebb25cadca58cb37f6a79676914 /ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua
parent4a6be24c3994a80bf5a355d2eee4ebfaa4707e09 (diff)
updates
Diffstat (limited to 'ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua')
-rw-r--r--ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua10
1 files changed, 2 insertions, 8 deletions
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" },
{ "<leader>g", group = "Git" },
+ { "<leader>gt", group = "Toggle" },
})
end,
},
@@ -157,15 +158,8 @@ return {
},
{
"mbbill/undotree",
- init = function()
- local wk = require("which-key")
- wk.add({
- mode = { "n", "v" },
- { "<leader>gt", group = "Toggle" },
- })
- end,
config = function()
- vim.keymap.set("n", "<leader>gtu", vim.cmd.UndotreeToggle, { desc = "Toggle undo tree" })
+ vim.keymap.set("n", "<leader>gu", vim.cmd.UndotreeToggle, { desc = "Undo tree" })
end,
},
{