* Benji Fisher on Tuesday, September 26, 2006 at 09:53:32 -0400:
> fun! TabMessage(cmd)
>   redir => message
>   silent execute a:cmd
>   redir END
>   tab split
>   put=message
> endfun

In case one wishes to have /only/ the command output in the tab,
and no delay by messages:

function! TabMessage(cmd)
  redir => message
  silent execute a:cmd
  redir END
  tabnew
  silent put=message
endfunction

c
-- 
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>

Reply via email to