summaryrefslogtreecommitdiff
path: root/ar/.config/TheSiahxyz/lua/thesiahxyz/plugins/git.lua
diff options
context:
space:
mode:
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,
},
{