本文介绍了如何从终端运行mvim(MacVim)?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我安装了MacVim,我试图将其设置为Git(版本控制)的编辑器,但我无法从命令行运行mvim,因为它不被识别。我如何设置mvim,以便我可以从终端运行它?

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 do I setup mvim so I can run it from Terminal?

推荐答案

应该有一个名为mvim的脚本.bz2文件。将这个地方复制到你的$ PATH(/ usr / local / bin会是好的),你应该排序。

There should be a script named mvim in the root of the .bz2 file. Copy this somewhere into your $PATH ( /usr/local/bin would be good ) and you should be sorted.

这篇关于如何从终端运行mvim(MacVim)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-13 14:07