MacVim in Yosemite can't fullscreen

[亡魂溺海] 提交于 2019-12-04 02:49:55

This is a known issue, happened me. A couple of work a rounds are:

  1. Uncheck "Prefer native full-screen support" in preferences.
  2. Open a second tab. This repositions the text and view correctly.

There is also a .diff patch on https://code.google.com/p/macvim/issues/detail?id=514#c2

kukka

A answer from apple.stackexchange.com

I found this post that seems to address that problem.

Full screen MacVim on OS X Yosemite

$ defaults write org.vim.MacVim MMNativeFullScreen 0

It works for my MacVim.

Also, if you're opening MacVim from the command line, use open -a MacVim instead of mvim. Fullscreen wasn't working for me either (I open from the command line a lot), but a friend shared this little tip and now fullscreen is again functional. Using open -a MacVim allows you to use native fullscreen, as well.

I'm running MacVim on Yosemite version 10.10.2.

cedricdlb

Snapshot 77, the latest macvim-dev/macvim release fixes the full screen mode rendering glitch in OS X Yosemite. You can download a pre-compiled executable installer from the release page (thanks to @jcl for giving the links to the new repository and release). Or you can install via brew as described by @greggannicott.

Put the following line into ~/.gvimrc (create that file if none exists):

set fu

MacVim will now always start in fullscreen mode!

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!