nvim: Add binding to gitsigns

Want to be able to do in line blames with a keybinding using gitsigns

Signed-off-by: Nicholas Mello <nick@nmello.dev>
This commit is contained in:
2025-08-14 22:43:42 -05:00
parent afa723300a
commit b049dec292

View File

@@ -16,5 +16,15 @@ return {
attach_to_untracked = true,
})
end,
keys = {
{
"<leader>ab",
function() require("gitsigns").toggle_current_line_blame() end,
mode = "n",
desc = "Toggle Git blame",
noremap = true,
silent = true,
}
}
},
}