Thank you anyway!
Marcin

On 11:31 Wed 14 Sep     , Christian Brabandt wrote:
> On Wed, September 14, 2011 10:54 am, Rickard Lindberg wrote:
> > If I start vim from a console and execute ":!ls", the whole vim window
> > disappears and I can see the output in the console.
> >
> > If I run vim inside a screen session and execute the same command, the
> > vim buffer is scrolled upwards so that I can see parts of the vim
> > buffer and the output of ls at the same time.
> >
> > It works the same in gvim as in screen plus vim.
> >
> > Is there a vim option to control this behavior? I would like the
> > output to always appear below the vim buffer. Or, the more importan
> > thing is that I don't want to see output of previous command when I
> > run a new command.
> 
> I think what happens is, that your terminal allows switching
> between screens. If Vim switches screens, it means, Vim found an entry
> in the terminfo or termcap database for your terminal on how to switch it and
> stores the values in the options 't_ti' (start switching to the
> alternate screen) and 't_te' (switch back from the alternate screen).
> 
> So to answer your question on how to disable this, you simply set the
> options t_ti and t_te to an empty value, e.g.
> :set t_ti= t_te=
> 
> See also the help at
> :h xterm-screens
> 
> regards,
> Christian
> 
> -- 
> 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

-- 
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

Reply via email to