Yosemite's MacVim can't fullscreen

I use Mac Yosemite 10.10.2 and the latest macvim, but when I use full screen mode, the lines at the top of the screen will be black, and if I move the mouse there, it will show the system line. this is my problem . I want to return my full screen mode.

+8
vim osx-yosemite
source share
5 answers

This is a known issue that happened to me. Several rounds of work:

  • Uncheck the box β€œPrefer full screen support” in the settings.
  • Open the second tab. This is the correct text layout and viewing.

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

+9
source share

Reply from apple.stackexchange.com

I found this post that seems to solve this problem.

Full Screen MacVim for OS X Yosemite

$ defaults write org.vim.MacVim MMNativeFullScreen 0 

It works for my MacVim.

+6
source share

Also, if you open MacVim from the command line, use open -a MacVim instead of mvim . The full screen did not work for me (I open a lot from the command line), but a friend shared this little tip, and now the full screen mode is again functional. Using open -a MacVim also allows you to use your own full-screen mode.

I am running MacVim on Yosemite version 10.10.2.

+2
source share

Screenshot 77, The latest version of macvim-dev / macvim resolves a complete display mode failure in OS X Yosemite. You can download the precompiled executable installer from the release page (thanks to @jcl for linking to the new repository and release ). Or you can install via brew as described by @greggannicott.

+1
source share

Put the following line in ~ / .gvimrc (create this file if it does not exist):

 set fu 

Now MacVim will launch in full screen mode!

0
source share

All Articles