I was used to doing
git diff | mate
but my new machine does not have mate and I use mvim. So I tried
git diff | mvim
and that did not work. What is the best way to see git diff in mvim editor.
I am using mac and I use mvim.
I was used to doing
git diff | mate
but my new machine does not have mate and I use mvim. So I tried
git diff | mvim
and that did not work. What is the best way to see git diff in mvim editor.
I am using mac and I use mvim.
I don't know about mvim specifically, but with normal vim you have to give it a filename of - to make it read stdin:
git diff | vim -
Perhaps mvim works the same?