I'm trying to search a string only in "diff areas" (text blocks where there is a difference between the files).Is there a way to do this?
You can ask vim to search only in unfold. So fold common part and search on diff part:
set diffopt=filler,context:0
set fdo-=search
tested and it's work
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With