vimdiff
is very handy for comparing files. However, I often use it on files with long lines and relatively few differences inside the lines.
vimdiff will correctly highlight differences inside a line (whole line pink, differing characters red).
In these cases, it would be nice to be able to jump to the next difference inside the line.
You can jump to the "next difference" (]c), but this will jump to the next line with a difference.
Is there a way to go to the next different character inside the current line?
Best Answer
I see two solutions:
Both solutions need to be executed after the ]c, and require vim scripting.
EDIT: Here is a first draft that seems to work: