Wikia

Vim Tips Wiki

Ignore white space in vimdiff

Talk0
1,613pages on
this wiki
Revision as of 19:19, March 10, 2010 by 64.102.78.124 (Talk)

Tip 1294 Printable Monobook Previous Next

created July 31, 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.

set diffopt+=iwhite

From the command line:

vimdiff -c 'set diffopt+=iwhite' ...

References

Comments

Around Wikia's network

Random Wiki