diff --git a/lua/astrocommunity/git/blame-nvim/init.lua b/lua/astrocommunity/git/blame-nvim/init.lua index f56c22753..65e75b161 100644 --- a/lua/astrocommunity/git/blame-nvim/init.lua +++ b/lua/astrocommunity/git/blame-nvim/init.lua @@ -2,6 +2,20 @@ return { "FabijanZulj/blame.nvim", event = "User AstroGitFile", dependencies = { + { + "AstroNvim/astrocore", + ---@type AstroCoreOpts + opts = { + mappings = { + n = { + ["gB"] = { + "ToggleBlame", + desc = "Toggle git blame", + }, + }, + }, + }, + }, { -- configure heirline with custom hook to enable winbar for 'blame' filetype "rebelot/heirline.nvim", optional = true,