how can I tell vimdiff to ignore whitespace?
10,287
set diffopt+=iwhite
from vim wikia
Related videos on Youtube
Comments
-
Nathan Fellman over 1 year
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? -
Kazark over 11 yearsThough that doesn't make it ignore all whitespace; see this SO question.