edwardramsey
edwardramsey

Reputation: 363

MacVim in Yosemite can't fullscreen

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.this is my problem. I want to get my fullscreen back.

Upvotes: 9

Views: 2943

Answers (5)

byaruhaf
byaruhaf

Reputation: 4743

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

set fu

MacVim will now always start in fullscreen mode!

Upvotes: 1

cedricdlb
cedricdlb

Reputation: 759

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.

Upvotes: 1

kukka
kukka

Reputation: 121

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.

Upvotes: 7

Fomentia
Fomentia

Reputation: 994

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.

Upvotes: 2

Bytecus
Bytecus

Reputation: 129

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

Upvotes: 9

Related Questions