Kate - diff - external tools - Kompare

gregor.mi.sw codestruct at posteo.org
Fri Dec 25 18:32:30 GMT 2020

Hello Libor,

you can right-click on a non-active tab to compare it with the active tab. There you can choose 
between three different diff tools.


On 23.12.20 13:19, Libor wrote:
> Hello KATE Team!
> I referenced Kate to several IT people and/or programmers in my surrounding looking for a 
> cross-platform alternative to Notepad++, but the fact that it lacks a diff tool is a huge stop sign 
> for most people straight-away.
> The solution might be easy: If you include in "external-tools-plugin" another parameter 
> "%{Document:NativeFilePath*2*}" for a /second/ file (if in split mode, then visible file in the next 
> panel, in all cases it would be easy to populate the next file from the list of opened files), then 
> configuring this plugin to startup Kompare (/usr/bin/kompare 
> -c %{Document:NativeFilePath} %{Document:NativeFilePath2}" in Linux) would be easy.
> As it stands now (AFAIK), Kompare can be configured only to start "empty" (which would fill the last 
> two compared files) and that is quite unimpressive and useless (as starting it via launcher is even 
> faster then via Kate menu). You can't even supply two same files, because Kompare would complain 
> they're identical and revert to last used files.
> Libor

More information about the KWrite-Devel mailing list