lewis6991 / gitsigns.nvim

Git integration for buffers
MIT License
4.95k stars 186 forks source link

Git Blame all lines in a visual selection #390

Closed harshasrisri closed 5 months ago

harshasrisri commented 2 years ago

Is your feature request related to a problem? Please describe. Not a problem, but a feature request

Describe the solution you'd like Git blame works great for a single line. Please extend it to show blame info for all lines in a visual selection.

Describe alternatives you've considered vim-signify used to do this blamer.vim does this.

Additional context N/A

lewis6991 commented 2 years ago

Do you mean :Gitsigns blame_line or config.current_line_blame? And what kind of output are you expecting?

harshasrisri commented 2 years ago

My apologies for referencing vim-signify. My intention was to refer to blamer.vim.

When a few lines are selected in visual mode, git blame info is shown for all the selected lines. I've captured a screenshot of the behavior:

image