How to run mvim (MacVim) from Terminal?

前端 未结 12 898
北荒
北荒 2020-11-30 15:55

I have MacVim installed and I am trying to set it up as the editor for Git (version control), but I can\'t run \'mvim\' from the command line as it isn\'t recognised. How d

12条回答
  •  渐次进展
    2020-11-30 16:48

    I don't think I'd to add anything to the path, did

    brew install macvim
    
    mvim -v
    

    should then open macvim in the terminal, you can also go ahead and alias that

    alias vim='mvim -v'
    

提交回复
热议问题