0

Are there any differences between using vimdiff x.py y.py and vim -d x.py y.py?

3

If your vim supports diff mode (which is in most cases), there is no difference.

There is a minor difference though, if your vim is compiled without the +diff feature, vimdiff a b will produce the error message:

This Vim was not compiled with the diff feature.

However, vim -d a b will silently accept without entering diff mode.

Unless you are on amiga, in which case the -d is interpreted as a device name for use as a terminal.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.