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:
@@ -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,
|
||||
}
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user