On 17/12/09 05:54, MK wrote:
On Wed, 16 Dec 2009 22:15:47 -0600
Tim Chase<[email protected]> wrote:
I fought with this on Win32 gvim and never found a satisfactory
solution...Vim regularly wanted to override the specified number
of lines to make sure it fit on the screen for its definition of
"fit" (which, as you experience, left several lines off). I've
since moved mostly to my Linux box where I use console vim
instead, and have my xterms set so that I can maximize them
vertically with no window-chrome (fairly easy to do in
Fluxbox...not sure about other window managers).
Fvwm will do that -- which is how I've had it for long time -- fullscreen
terminal with no frame. But I've been feeling the need for mouse funtionality
and tabs. Maybe I have to go back, because get this: it does the same thing
when you open a new tab (resizes!).
That's two of us. I'm gonna find out where to file a ticket. This is just
plain a very very stupid feature. I wonder if it's cause Bram always uses a
terminal too :P
I don't think it's stupid. Without it, ":set lines=999 columns=999"
would make gvim really set its screen to 999 lines by 999 columns, with
most of it hidden from view (off your display screen), including the
command-line. (Actually, that's what happens if you issue this command
when gvim is already maximized.)
If you're on X11, then maybe you have 'guiheadroom' (q.v.) set otherwise
than you'd like it (the default is 50 pixels, I use zero, it can even be
made negative).
Here, ":set lines=999 columns=999" pretty much maximizes gvim, with
maybe half a character cell's height left at the bottom and a pixel or
two at far right. If you want to make it fit tightly (with any partial
character-cell height or width inside the gvim screen rather than
outside it), you can "Maximize" gvim using OS controls (like the
square-like icon near one end of the titlebar, or the Maximize menuitem
in the System menu). If it doesn't work the first time (i.e. if it
doesn't really maximize the window), do it again immediately.
On Windows, but not on other platforms, you can trigger that menu by
means of the :simalt command (see ":help :simalt") if you know what
letter corresponds to Maximize in the menu language used by the version
of Windows on which gvim is running: in English versions it would be
":simalt ~x" (without the quotes), but there are languages where the
equivalent of Maximize does not correspond to x (I remember that "File"
is "Bestand" in Dutch and "Datei" in German, but I don't remember how
either of these languages says "Maximize").
On X11, at least some versions of gvim accept a -geometry argument, see
":help -geometry-example" (linked to from ":help -geometry"). This
argument is not recognized by non-X11 versions of gvim, though.
Best regards,
Tony.
--
hundred-and-one symptoms of being an internet addict:
256. You are able to write down over 250 symptoms of being an internet
addict, even though they only asked for 101.
--
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php