On 2008-10-14, Matthew Winn <[EMAIL PROTECTED]> wrote:
> On Mon, 13 Oct 2008 07:36:25 -0700 (PDT), leandromartinez98
> <[EMAIL PROTECTED]> wrote:
> 
> > I was aware of Vim reading the .vimrc file and I never expected Vim to
> > resize
> > my terminal window because of those options. I was expecting, on the
> > other
> > side, that that line was considered only in the GUI case. The fact
> > that those
> > lines are read and cause a weird behaviour should be avoided, since
> > weird
> > behaviours are always undesirable.
> 
> Those options predate the GUI. They come from the original vi, and
> were used to allow users to tell vi how large a screen it was running
> on. With the introduction of the GUI in Vim it became possible for
> setting those options to change the size of the window, but they still
> need to be available in the non-GUI environment so people can tell Vim
> how much space is available to it. If you set them to values that
> don't match the real terminal size there's not much Vim can do about
> it except trust that you know what you're doing.

I discovered when running vim in an xterm under KDE that setting 
'lines' and 'columns' resizes the xterm, so these settings are not 
just for gvim and for adjusting vim to the size of the terminal.

Regards,
Gary


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to