OSX/优胜美地上的MacVim:根本没有可见的编辑器窗口 [英] MacVim on OSX / Yosemite: no editor windows visible at all

查看:65
本文介绍了OSX/优胜美地上的MacVim:根本没有可见的编辑器窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

今天从 http://www.com将MacVim安装在我的Yosemite 10.10.2 Macbook Pro上. macupdate.com/app/mac/25988/macvim

问题是没有可见的编辑器窗口.如果使用菜单打开文件,则没有任何效果:不会显示编辑器窗口.它没有隐藏在其他窗口的后面,也没有在Windows菜单中列出,只是完全不显示.

The problem is that no editor window(s) are visible. If I open a file using the menu, there's simply no effect: no editor window appears. It's not hidden behind other windows, it's not listed in the Windows menu, it's just entirely undisplayed.

奇怪的是,该文件将出现在MRU列表中.因此,这使整个编辑器完全无用.我应该自己构建gvim吗?这个应用程序实际上是由任何人维护的吗?

Strangely, the file will appear in the MRU list, though. So this renders the entire editor completely useless. Should I just build gvim myself? Is this app actually being maintained by anyone?

推荐答案

我将阅读一些建议运行的答案:

I'd read some answers which suggest running:

brew install macvim

...可以解决问题.

... does the trick.

您可能想先尝试一下.

但是,这对我不起作用,因为尽管它更新了我的macvim,但/Applications文件夹中链接的那个不是brew正在更新的版本.

However, this didn't work for me because although it updated my macvim, the one being linked to in the /Applications folder was not the version being updated by brew.

所以,这是我必须采取的步骤.

So, here are the steps I had to take.

  1. 如果已打开,请退出MacVim.
  2. 删除/Applications中的MacVim文件.
  3. 在终端中,运行:

  1. Quit MacVim if open.
  2. Delete the MacVim file in /Applications.
  3. In the terminal, run:

brew install macvim --override-system-vim

  • 运行(这会将链接添加到您的应用程序"文件中):

  • Run (this will add the link to your Applications file):

    brew linkapps macvim
    

  • 我不确定上面的每个步骤是否都是必需的,或者不能确定--override-system-vim标志是否是必需的,但是我可以告诉你,执行上述步骤对我有用.

    I can't be sure every step above is required, or that the --override-system-vim flag is required, but I can tell you that doing the above steps worked for me.

    希望这会有所帮助.

    这篇关于OSX/优胜美地上的MacVim:根本没有可见的编辑器窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆