Wednesday, June 6, 2012

Re: how to resize window continuously ?

On Wednesday, June 6, 2012 4:39:23 AM UTC-5, Thilo Six wrote:
> Hello Ben,
>
>
> Excerpt from Ben Fritz:
>
> -- <snip> --
> >> press `C-w -` and `-` and `-` to decrease window height again and again,
> >> But this seems can not work in Vim.
> >>
> >> So is there a good and simple way to do this ?
> >
> > Use the mouse. Really; I think re-sizing windows is the single best use for Vim's mouse support.
>
> Resizing windows with the mouse only works in GVim though. In console Vim you
> have to use ':resize' or the already mentioned approach.
>

Not quite true, some terminals support it:


*'mouse'* *E538*
'mouse' string (default "", "a" for GUI, MS-DOS and Win32)
global
{not in Vi}
Enable the use of the mouse. Only works for certain terminals
(xterm, MS-DOS, Win32 |win32-mouse|, QNX pterm, *BSD console with
sysmouse and Linux console with gpm). For using the mouse in the
GUI, see |gui-mouse|.

Actually, every time I've actually used Vim in a console, it worked just fine.

--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

No comments: