So, how can I make *my* MacVim
1) maximize both height and width when I push the green button without
having to hit 'shift' too
2) make <D-F> or :se fu maximize height and width at the same time as
it blanking the rest of the screen.
I'm hoping I can just add some settings to my .vimrc/.gvimrc ?
Thanks
Brian
>
> So, how can I make *my* MacVim
>
> 1) maximize both height and width when I push the green button without
> having to hit 'shift' too
That's currently not possible as far as I know.
> 2) make <D-F> or :se fu maximize height and width at the same time as
> it blanking the rest of the screen.
Add this to your gvimrc (I believe it's overwritten if you put it in
your vimrc):
an <silent> 9900.320 Window.Toggle\ Full\ Screen\ Mode :set
invfullscreen lines=999<CR>
you can also add a `columns=x`, but you have to play with the x a bit,
because MacVim doesn't clip the width to the screen. This will
hopefully become easier within the next weeks.
HTH,
Nico
Nope. I would have to add a user default to support that...which I by
all means can do, but it will be a "hidden setting" in that I wouldn't
want to add that to the preferences panel. Is that good enough?
> > 2) make <D-F> or :se fu maximize height and width at the same time as
> > it blanking the rest of the screen.
>
> Add this to your gvimrc (I believe it's overwritten if you put it in
> your vimrc):
>
> an <silent> 9900.320 Window.Toggle\ Full\ Screen\ Mode :set
> invfullscreen lines=999<CR>
>
> you can also add a `columns=x`, but you have to play with the x a bit,
> because MacVim doesn't clip the width to the screen. This will
> hopefully become easier within the next weeks.
Actually, since I refactored the view code it does clip to the width
as well, so you can add `columns=X' as well!
/Björn
More than good enough. If it's easy. I don't want you adding a
bunch of code for one person!
On the other hand, I *think* I'm not alone on this one. Are the
'hidden' preferences documented anywhere?
> > > 2) make <D-F> or :se fu maximize height and width at the same time as
> > > it blanking the rest of the screen.
> > Add this to your gvimrc (I believe it's overwritten if you put it in
> > your vimrc):
> > an <silent> 9900.320 Window.Toggle\ Full\ Screen\ Mode :set
> > invfullscreen lines=999<CR>
> > you can also add a `columns=x`, but you have to play with the x a bit,
> > because MacVim doesn't clip the width to the screen. This will
> > hopefully become easier within the next weeks.
> Actually, since I refactored the view code it does clip to the width
> as well, so you can add `columns=X' as well!
Yea! I updated to 22 and added Nico's suggestion with columns=999
and that's the effect I was looking for when I hit <D-F> !
Thanks!
Brian
See :h macvim-prefs
It will be trivial to add such a patch...so no worries. I can also
see that more people would prefer this behaviour (although I do not
wish to encourage anybody to go over to the dark side with Brian ;-)
).
/Björn
Ahhh (ok, altogether now - Brian RTFM!)
>
> It will be trivial to add such a patch...so no worries. I can also see that
> more people would prefer this behaviour (although I do not wish to encourage
> anybody to go over to the dark side with Brian ;-)).
Thanks.
I added the ODBCInput manager this afternoon, and using MacVim in
both Mail and Cyberduck (along with Firefox using It's All Text) is enough to
drag anybody to the dark side.... :-]
Thanks guys for the great work!
Brian
With the latest source code version you can make the green blob button
zoom in both horizontal and vertical directions by setting the user
default MMZoomBoth. This is also documented in ":h macvim-prefs".
/Björn
I still can't see this on repo.or.cz/w/MacVim.git -- did you already
push this out?
Nico
Oops, forgot to push. Now it is there. :-)
/Björn
Not that I'm ever going to use this pref, but I'd expect Cmd-click to
maximize in vertical direction only when this pref is set (and in both
directions else).
Nico
ie. `if (zoomBoth && !cmdLeftClick || !zoomBoth && cmdLeftClick)` (==
`if (zoomBoth ^ cmdLeftClick)`, but that might be a bit hard to
understand :-P) instead of `if (zoomBoth || cmdLeftClick)`.
Hmmm...why not, that makes sense. I've pushed that patch too now.
/Björn
Thank you! I'll be bit before I try it - I've zero git experience
and a lot on
my plate at the second, but I'll be sure to do it at some point or when the next
snapshot is released.
Thanks again
Brian