pmsguy
asked on
vimdiff command line options - wrap
I want vimdiff to wrap my text by default.
Is there a .vimdiffrc file?
Can I run vimdiff --wrap $file1 $file2 somehow to wrap lines?
While in vimdiff I can run the command
:set wrap
But I want this as the default and can not figure this out.
Is there a .vimdiffrc file?
Can I run vimdiff --wrap $file1 $file2 somehow to wrap lines?
While in vimdiff I can run the command
:set wrap
But I want this as the default and can not figure this out.
ASKER
I tried updating the .vimrc and it does not work
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
if I'm not completely mistaken vimdiff uses exactly the same options as vim does.
So your ~/.vimrc file will be used, if it's there.
It should contain a line "set wrap", and that's it.
There is no option --wrap, however.
wmp