Search code examples
gitsublimetext3diffgit-diff

Diff by word instead of line in Sublime Text


I've been using Sublime Text and Git for writing. I have made use of Sublime's diff file feature to compare changes between files, which gives a line-by-line difference. I would like to be able to do diff by word natively within Sublime, rather than with the terminal (i.e., using git diff --word-diff). I've tried the FileDiffs package but its external diff commands do not work. Is there a way to configure the default diff application in Sublime or is there a package capable of doing this?


Solution

  • You can try and:

    Beside that, I don't know of a SublimeText3 plugin which supports it out of the box.