FG
💻 Software

vimdiff: Jump to next difference inside line?

Fresh5 days ago
Mar 15, 202643379 views
Confidence Score1%
1%

Problem

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?

Error Output

vimdiff

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: vimdiff: Jump to next difference inside line?

Low Risk

This is an easy workaround: You can use . This will create problems if the difference causes text to wrap in unequal number of lines.

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment