Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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

I'm an avid MacVim user and every time I launch it the window starts about 2 rows too far down on the screen to where I have to drag it up to the top of my screen every time. Is there anything I can add in my .vimrc to make it start at the top every time?


For anyone having the same problem with a MBP (1440X900), if you :set lines=49 it seems to do the trick.

share|improve this question

migrated from Dec 7 '09 at 12:47

This question came from our site for professional and enthusiast programmers.

First result on Google for: macvim position window top

Gave me this:

It seems to be a known issue with the way OS X handles window placement and Bjorn hasn't figured out a way around it yet.

Edit: Woops, in comment 8 he changed the status to 'fixed'... It was supposedly fixed only 9 days ago, and a snapshot build hasn't been released since then.. so if you just wait for the next release of Macvim it should be solved :-)

share|improve this answer
Could have done without the LMGTFY but thanks. I must have been phrasing my search wrong. – jluebbert Dec 6 '09 at 23:28
Sorry, don't meant to be condescending, I just find that site highly amusing :-) – David Claridge Dec 6 '09 at 23:30
haha, yeah, I agree with you. – jluebbert Dec 7 '09 at 7:51

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.