k0pernikus
k0pernikus

Reputation: 66510

svn diff | view - How to highlight changes character-based instead of only line-based?

Right now I use svn diff | vim - to get a colorized output. Alas, only the changed lines get highlighted, but I want to instantly see the characters I changed as well.

I want an effect like github is offering, e.g. like this diff.

kompare seems quite powerful, but I'd prefer a console-tool.

Upvotes: 4

Views: 1871

Answers (2)

altern
altern

Reputation: 5949

There's been question about diff viewers. It might help you to review and choose appropriate one.

TkDiff and KDiff3 can highlight words.

Upvotes: 2

Kiril Kirov
Kiril Kirov

Reputation: 38173

I use kompare. It's great to me.

Example usage:

$ svn di > name.diff
$ kompare name.diff

It highlights the words, too. It's free, beautiful and easy to use :)

Upvotes: 4

Related Questions