how can I tell vimdiff to ignore whitespace?

10,287

set diffopt+=iwhite
from vim wikia

Share:
10,287

Related videos on Youtube

Nathan Fellman
Author by

Nathan Fellman

SOreadytohelp

Updated on September 17, 2022

Comments

  • Nathan Fellman
    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
    Kazark over 11 years
    Though that doesn't make it ignore all whitespace; see this SO question.