Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can vim diff use the patience algorithm?

Tags:

git

vim

diff

Is there any way to set vimdiff's diff strategy to be the patience algorithm? It's built into git and seems to be much better than a normal diff.

For reference:

  • How to set patience as default git diff algorithm
  • Where can I find the patience diff implemented?
like image 456
Matt Woelk Avatar asked Feb 11 '14 17:02

Matt Woelk


1 Answers

I made a plugin that allows this. Try my EnhancedDiff plugin

like image 100
Christian Brabandt Avatar answered Oct 05 '22 23:10

Christian Brabandt