On 2011-05-08, sc wrote:
> On Sunday, May 08, 2011 08:03:22 Lech Lorens wrote:
> 
> > I followed the steps suggested by sc in
> > <[email protected]> in the discussion
> > about scrolling with scrolloff and lines set to certain
> > values and added one more step.
> 
> > I do:
> > vim -u NONE -U NONE
> 
> > :r!seq 100
> > :set lines=25 so=12 ls=0
> 
> you mention "xterm" in the subject here so my use of konsole
> adds another variable, but i have to ask -- is it appropriate
> to be setting 'lines' in either an xterm vim or a konsole vim?
> my understanding is vim can't change the window layout for
> either, it is handled by the window

You can do it in some terminals, including xterm.  I used to run vim
in xterms with KDE on a RHEL system and had a function to toggle the
xterm window size between 80x24 and full screen by setting &lines
and &columns.

Regards,
Gary

-- 
You received this message from the "vim_dev" 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

Raspunde prin e-mail lui