Sublime Forum

Is there a way to diff two non-repo files?

#1

Is there a way to select two arbitrary files and diff them? Am I missing how to do that? I’d like to ditch Kaleidoscope—even though it’s been a great tool.

E.g. I can do this in the command line with Kaleidoscope:

$ ksdiff file1.txt file2.txt

Kaleidoscope will then fire up, showing the diff between the two files.

0 Likes

#2

smerge mergetool file1 file2

1 Like

#3

So cool! Thank you.

For anyone finding this thread, I wrote instructions to add smerge to your path.

0 Likes

#4

that doesn’t compare character changes, only entire lines.

0 Likes