FG

how can I tell vimdiff to ignore whitespace?

Fresh3 days ago
Mar 15, 202611847 views
Confidence Score0%
0%

Problem

I made a number of changes in a file I'm working on, including indentation changes. I'm using to compare the file to the original version, and I don't want to see these changes, since they're basically cosmetic. How can I tell to ignore whitespace during the comparison?

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: how can I tell vimdiff to ignore whitespace?

Low Risk

set diffopt+=iwhite from vim wikia

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment