From 9ccdbf644cc6f38ade7fdd7e554e8da8b38091ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?George=20Guimar=C3=A3es?= Date: Sun, 26 May 2024 22:53:49 -0700 Subject: [PATCH] feat(git): Change Commit Log to use Lazygit (#2959) * feat(git): Change Commit Log to use Lazygit * fix: use gl * fix conflicts --------- Co-authored-by: Folke Lemaitre --- lua/lazyvim/config/keymaps.lua | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lua/lazyvim/config/keymaps.lua b/lua/lazyvim/config/keymaps.lua index 7464f33e..86552999 100644 --- a/lua/lazyvim/config/keymaps.lua +++ b/lua/lazyvim/config/keymaps.lua @@ -136,6 +136,10 @@ map("n", "gf", function() LazyVim.lazygit({args = { "-f", vim.trim(git_path) }}) end, { desc = "Lazygit Current File History" }) +map("n", "gl", function() + LazyVim.lazygit({ args = { "log" } }) +end, { desc = "Lazygit Log" }) + -- quit map("n", "qq", "qa", { desc = "Quit All" })