From d4451605c82c6a0786eb3c6b8290b836669461b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A1bio=20Andr=C3=A9=20Damas?= Date: Mon, 31 Mar 2025 16:13:54 +0100 Subject: [PATCH] Add git log keybinding --- lua/plugins/which-key.nvim.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/lua/plugins/which-key.nvim.lua b/lua/plugins/which-key.nvim.lua index 59a7ce4..606dbd6 100644 --- a/lua/plugins/which-key.nvim.lua +++ b/lua/plugins/which-key.nvim.lua @@ -125,6 +125,18 @@ return { "DiffviewOpen", desc = "Diff view", }, + { + "gl", + function() + require("neogit").action("log", "log_current")() + end, + desc = "Git log", + }, + { + "gf", + "Neogit", + desc = "Git diff current file", + }, { "ยป",