Ad blocker interference detected!
Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers
Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.
created 2006 · complexity basic · author vagusri · version 5.7
I had been searching for a way to ignore white spaces while using vimdiff. Unfortunately,
vimdiff -h yields the generic Vim help. I finally found that including the following line in vimrc solves the problem.
From the command line use:
vimdiff -c 'set diffopt+=iwhite' ...
To have vimdiff ignore whitespace while normal vim doesn't, simply put this into your .vimrc:
if &diff " diff mode set diffopt+=iwhite endif