xsuchy / rpmconf

Tool to handle rpmnew and rpmsave files
43 stars 19 forks source link

[rfe] provide option to use vimdiff #29

Closed genodeftest closed 8 years ago

genodeftest commented 8 years ago

Quite often I want to keep some parts of my old configuration, but new config files have new interesting options. In these cases I run vimdiff on those files anyway. Would you mind adding an option to run vimdiff (as there is to run diff) on a pair of files? Ideally the current config file would be on the left side and the .rpmnew and .rpmsave files on the right.

xsuchy commented 8 years ago

It is already there:

  rpmconf -fvimdiff 

It is run when you choose (M)erge option on specific file.

From man page:

       -f<type>, --frontend=<type>
              Define  which  frontend  should  be used for merging. Valid options are: vimdiff, gvimdiff, diffuse, kdiff3, meld and
              env. When set to env, the command to use is taken from the environment variable $MERGE. The default is env.
genodeftest commented 8 years ago

Oh, sorry for the noise.