Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I Launch MacVim it takes up the whole screen. I don't want this. Is there any way to prevent it from happening?

I run OS X 10.8.

share|improve this question
Hmm.. That's odd. It's never done that for me. Are you sure you haven't edited a config? – kalaracey Mar 5 '13 at 3:21

Are you setting the (MacVim-specific) fullscreen option in any of your configuration files?

You can use the following command (in a fresh MacVim window, before taking it out of fullscreen mode) to find out whether and where it is being set automatically:

:verbose set fullscreen?

If it says nofullscreen, then this is not the problem. If it says fullscreen, it should also mention the configuration file that last set the option (it will not mention a file if you have set/reset it manually: e.g. by manually taking it into or out of fullscreen mode). You might need to edit the file named in the verbose set output (or maybe override it from a different configuration file).

share|improve this answer
I received nofullscreen as output for that command, but macvim is always starting in fullscreen – Arnold Roa Oct 10 '14 at 16:13

In my case it was good enough to comment out the fullscreen part of the extended.vim config file found under ~/.vim_runtime/vimrcs/extended.vim.

Look for the if has("gui_macvim") in that file and comment out that entire block and you should be able to start MacVim in windows mode.

Side note, I've also turned off the native fullscreen support for MacVim since I dislike it. You can do that via:

$ defaults write org.vim.MacVim MMNativeFullScreen 0

in a Terminal.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .