On Feb 26, 11:46 am, Gary Johnson <[email protected]> wrote:
>
> Following the examples in ":help makeprg", how about this:
>
> :set makeprg=make\ $*\ \\\|\ tee\ make.out
>
Hmm, that looks promising for my needs.
Might it be better to append make.out to the shellpipe option on a
unix system? The default for unix uses tee already.
I used this to try it out, and it seems to work okay:
if has('unix')
autocmd VimEnter * let &shellpipe = &shellpipe . ' make.out'
endif
I had to use the VimEnter event because shellpipe is set after reading
all the init files. Unfortunately, this means I can't use "-c make!"
to do the compile.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---