Closed GoogleCodeExporter closed 9 years ago
Only file bugs to the Issue tracker, please! Questions like this belong to the
vim_use group.
The help files are your friend, use ":h" or ":h 'lines'" in this case.
Adding "set lines=100" to your ~/.gvimrc will do the trick.
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 11:14
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 11:14
thank you bjorn.winckler,
I've seen some "enhancements" tickets there, I was confused. I'll post the
mailing
list next time. Anyhow, the "trick" is almost working, the window is not really
maximed (see screenshot). If I maximize the window, I don't get this margin on
the left.
Thanks
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 11:19
Attachments:
set lines=999
set columns=999
Once again: you should get acquainted with the help files and you'll be able to
solve
these types of problems on your own. Try ":help" and go from there.
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 12:11
Thanks, I've found the colomns option too, but still, the window is not
maximed, I
have the same result as the screenshot attached before :(
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 1:05
The screenshot is unclear. Are you saying that if you click the green zoom
button
the window will become even larger when you have "set lines=999 columns=999"?
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 1:25
Exactly ! If you at the screenshot, you'll see on the top left corner the window
under gvim. Perhaps it's better on the screenshot attached, you can see my
firefox
window under MacVim. On the right side, the window is a little too far on the
right
(Picture 13.png).
If click Maximize, then the window will occupy the whole screen, as expected. I
think
the two options (lines & columns) are working as expected, the problem is more
on Mac
OS X side, in which Maximize seems to be an odd world (and a nightmare with
Safari
for ex).
Thanks
Philippe
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 1:33
Attachments:
Anyway, If I move the window to be exactly where I want it to be, and I quit,
the
window position gets saved, and my window is now correctly placed at startup.
It's a
workarround !
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 1:34
Just to make sure I understand, try this:
1. Open a new window (with "set lines=999 columns=999" in your .gvimrc)
2. Enter ":set lines?". What does it say?
3. Enter ":set columns?". What does it say?
4. Click the green zoom button.
5. Repeat steps 2 and 3 -- did the numbers change?
As far as I can tell from your report, in step 5 the same numbers will be
reported,
so the problem is only that the window that opens in step 1 is a bit off the
screen
to the right, leaving a small gap on the left side of the screen.
Am I correct in my assumptions? If so, this is indeed a valid bug and I'll fix
it.
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 1:45
Hi,
1. Done
2. lines=58
3. columns=237
4. Done
5. lines=60 & columns=237
Sorry, they don't match !
Just in case, here's my .gvimrc config file :
" :colorscheme ir_black
:colorscheme darkblue
" Font
set guifont=Monaco:h10.00
" No audible bell
set vb
" No toolbar
set guioptions-=T
set lines=999.
set columns=999
~
Thanks
Philippe
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 2:19
That was unexpected.
What is the resolution of your screen?
Have you got the Dock hidden or not? (If not, can you hide and see if that
makes a
difference?)
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 2:37
I've tested on a mac book pro with a 1440X900 screen.
I'll post in a few minutes the results with my imac.
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 3:59
On an imac with 1920x1200 screen :
lines = 82
columns = 317
and same after having maximized the window.
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 4:03
I can't reproduce the problem with the window not opening fully maximized on my
1680x1050 screen and I've tried quite a few different font sizes.
However, I've fixed the bug where the window sticks out on the right (I could
reproduce that) and it is possible that this fixes the other bug as well. So,
I'll
ask you to wait for the next snapshot and try again when I release that. Please
report back here at that time. Thanks.
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 4:41
Thanks a lot !
Dub question : will you warn me when the new snapshot is ready, or do I have to
follow a feed somewhere ?
Original comment by philippe...@gmail.com
on 28 Aug 2009 at 5:10
If you have automatic updating enabled (and you are running the snapshot, not
the
stable version) in the MacVim prefs then you'll get a notification, but this
usually
comes about a week after I release the snapshot. I announce things first on the
vim_mac Google group if you want to get notified as soon as possible.
In this particular case I can ping this issue as well so you'll get a
notification
(if I remember).
Original comment by bjorn.winckler@gmail.com
on 28 Aug 2009 at 5:40
A little update :
MacVim doesn't start maximized on my mbp using snow leopard.
It starts on the second display on my imac with snow leopard.
thx
Original comment by philippe...@gmail.com
on 10 Sep 2009 at 9:18
Have you tried my custom Snow Leopard binary? You can find it here:
http://b4winckler.wordpress.com/2009/09/02/macvim-on-snow-leopard/
That binary includes the patch I mentioned above and it also automatically
restores that window size when you
restart, so there should be no need for "set lines" and "set columns". Try
deleting those "set" lines from your rc-
files and see how it works.
Original comment by bjorn.winckler@gmail.com
on 12 Sep 2009 at 8:01
Works great !
Thanks !
Original comment by philippe...@gmail.com
on 12 Sep 2009 at 9:37
The above mentioned patch was included in snapshot 50.
Original comment by bjorn.winckler@gmail.com
on 24 Nov 2009 at 3:55
Original issue reported on code.google.com by
philippe...@gmail.com
on 28 Aug 2009 at 9:58