Friday, April 8, 2011

Re: Change paging program for bang execute

On 2011-04-08, lzap wrote:
> Hi,
>
> It depends on the conditions under which it appears. The issue is
> discussed here along with some solutions.
>
> :help press-enter
>
> Yes but unfortunately no option allows me to get rid of it. From the manual:
>
> To reduce the number of hit-enter prompts:
> - Set 'cmdheight' to 2 or higher.
> - Add flags to 'shortmess'.
> - Reset 'showcmd' and/or 'ruler'.
>
> Nothing works for me.

Again, it depends on the Vim command you just executed. If you're
launching a shell command, one way to avoid that prompt is to use
the system() function instead of the :! command, e.g.,

:call system('xterm &')

Regards,
Gary

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