I made a number of changes in a file I'm working on, including indentation changes. I'm using vimdiff 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 vimdiff to ignore whitespace during the comparison?

1 Answer 1


set diffopt+=iwhite
from vim wikia


You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .