MacVim in Yosemite can't fullscreen

荒凉一梦 提交于 2019-12-21 09:05:20

问题


I'm using Mac Yosemite 10.10.2 and newest macvim, but when I use fullscreen mode, the lines at the top of screen will be black, and if I move my mouse there, it will show the system line.

. I want to get my fullscreen back.

回答1:


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




回答2:


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.




回答3:


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.




回答4:


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.




回答5:


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

set fu

MacVim will now always start in fullscreen mode!



来源:https://stackoverflow.com/questions/29057835/macvim-in-yosemite-cant-fullscreen

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