Friday, November 9, 2012

can't scroll message back after executing external cmd

Hi all,

i wonder, why i can't scroll back the messages from an external command
that i invoked within vim via

:!<cmd>

Right after the command is executed vim puts the whole output of the
command on the screen without the more-prompt. Therefore, if the number
of lines exceeds the height of the terminal vim is running in, i can't
access the first few lines.

Vim completes the output of the command with the line

Press ENTER or type command to continue

Although pressing a more-prompt command at this state replaces the
string

Press ENTER or type command to continue

with

-- More --

the pager does not apply to the command messages but only to the
trailing 'newline'.

Unfortunately

:h messages

didn't help me further.

Maybe someone of you experts can help me to apply the pager to the
output of an external command!?

Thanks a lot for your effort and best regards

Johannes

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