Search code examples
gitvimvim-fugitiveneovim

Is there a VIM Git timeline?


So far, I am trying to understand how to use :Glog in combination with :Gdiff, to create a nice overview like the git-time-machine plugin for the Atom editor:

enter image description here

The overview exists of 3 windows

  1. On the left: the current file in the working copy.
  2. On the right: one of the previous versions of the file.
  3. On the bottom: a quickfix list filled with entries from the history.

When I select a commit from the quickfix list, the version will be placed in the right window. Not to forget the difference being highlighted.

Can someone help me? :)


Solution

  • I'm not aware of a plugin that is exactly like that. But there's gitv, which is like gitk for vim.

    screenshot of gitv

    Even though it's currently not being actively maintained it's working quite well IMHO.

    screenshot of gitv

    screenshot of gitv Source