vimdiff and MacVim

macvim, vim, vimdiff

Solution

- From the terminal

If you have the `mvim` script installed (it is in the dmg, just put it somewhere in your `PATH`), you can just type in a shell:

mvim -d file1 file2

You can alias this to mvimdiff if you like.

- From within macvim

In macvim, like in vim , you can also use:

:e file1
:diffsplit file2
or
:vert diffsplit file2

The second option gives you a vertical diff, which is usually more readable

Problem

I'd like to run vimdiff on MacVim. Is there an easy way I'd be able to do it?

Original source