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.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I don’t know about mvim specifically, but with normal vim you have to give it a filename of – to make it read stdin:
Perhaps mvim works the same?