I've been thinking of ways to visualize git commits with vim. I would like to be able to:
- run a command from the terminal such as:
vimdiff -c <commit id>
. - vim opens with two windows on a vertical split layout, displaying a diff the changes introduced for one of the files on that particular commit.
- each file opens on a different tab, so I can press
gt
to view the diff for the next file.
I can't possibly be the first to think of this issue, but I couldn't find any plugin or information out there. So how do you guys do it?