I like the extension Git History Diff in Visual Studio Code, looks something like this:

Git History Diff

I am looking for something similar for Vim. I've looked at Fugitive and other Vim plugins, but they are awkward when compared to Git History Diff.

Does anyone know of a Vim plugin similar to Git History Diff?

  • With futigive, you have the :Gllog command to populate your location list with the commit history. You can then navigate it with :lprevious and :lnext (which you can map to, say, [l and ]l), showing a buffer with inline-diffs for each commit. This make it quite easy to see changes. But what are you exactly trying to achieve? – Biggybi Jun 1 '20 at 21:58
  • I would love it if I could just click on a line and it shows me who edited that line last. Just like VS Code with Git History Diff. – Fred Jun 2 '20 at 20:24
  • Then, to be sure, have you tried :Gblame? – Biggybi Jun 2 '20 at 20:58

How about git-blame which puts the message in the status line?

  • It's not exactly what I am looking for, but it might be good enough. – Fred Jun 2 '20 at 20:25

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.