30

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

34

set diffopt+=iwhite
from vim wikia

1
  • 2
    Though that doesn't make it ignore all whitespace; see this SO question.
    – Kazark
    Commented Jan 4, 2013 at 0:56

You must log in to answer this question.

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