sponsor Vim development Vim logo Vim Book Ad

difffilter : Selectively compare lines as you want in diff mode

 script karma  Rating 8/2, Downloaded by 306  Comments, bugs, improvements  Vim wiki

created by
Rick Howe
 
script type
utility
 
description
The standard "diff" command supports "--ignore-matching-lines=regexp (-I regexp)" option to ignore hunks. This plugin provides similar functionality but tries a line-level filtering based on regexp and other matching criteria.

For details and demo samples, please visit the following git repository: https://github.com/rickhowe/difffilter.
 
install details
Install 'rickhowe/difffilter' by using your plugin manager. Or manually unzip and copy all folders in your ~/.vim or ~/vimfiles.
 

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
difffilter1.3.zip 1.3 2024-06-09 9.0 Rick Howe Improved to skip the filtering and make it faster if no to-be-excluded lines found in all diff mode buffers.
difffilter1.2.zip 1.2 2024-05-25 9.0 Rick Howe Added to firstly check the '&commentstring' option in the default expression.
difffilter1.1.zip 1.1 2024-05-01 9.0 Rick Howe Changed not to split diff hunks. Fixed not to draw hl-Conceal over diff highlighted lines.
difffilter1.0.zip 1.0 2024-04-19 9.0 Rick Howe Initial upload
ip used for rating: 142.132.191.50

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
   
Vim at Github