vim-flog icon indicating copy to clipboard operation
vim-flog copied to clipboard

Multifile side by side diff

Open mflova opened this issue 3 years ago • 0 comments

I have been reading about the possibilities of this plugin and I like its potential (specially this Flog V2) congrats! Among the features I feel it is missing, is the multi-file diff. By default, these diffs are inline diffs in a single buffer. Meaning a few drawbacks: no proper color syntax and high diffs become harder to evaluate or navigate.

I have been searching for ways to improve this and I found that there are a few plugins that are already working with this:

  • Octovim offers a PR review system in which you can navigate between different changed files and the diff is displayed side by side
  • Diffview displays side by side views between any arbitrary commit, revision or branch. This one is not integrated in any commit browser

My questions are: is there a way this plugin can integrate a system like this? I understand that this might be out of the scope, and the problem is that plugins like Diffview are neovim-based. I would also like to know if there is a way for me to create a new command in my config and that I can map like

:DiffviewOpen commit1 commit2
:DiffviewOpen branch1 branch2

Being commitX or branchX the result of the visual selection in vim-flog

Thanks!

mflova avatar May 13 '22 17:05 mflova