Re: Piping messages from ex commands into a new tab

2006-09-26 Thread Charles E Campbell Jr
Tom Carr wrote: I'm trying to pipe messages from ex commands (e.g. :map , :version) into a new tab. I've found http://vim.sourceforge.net/tips/tip.php?tip_id=95, but I was hoping for a better way. Ideally I would type something like :tabmesages :map and it would show :map in a new tab,

Re: Piping messages from ex commands into a new tab

2006-09-26 Thread Benji Fisher
On Mon, Sep 25, 2006 at 10:21:23PM +0100, Tom Carr wrote: I'm trying to pipe messages from ex commands (e.g. :map , :version) into a new tab. I've found http://vim.sourceforge.net/tips/tip.php?tip_id=95, but I was hoping for a better way. Ideally I would type something like :tabmesages :map

Re: Piping messages from ex commands into a new tab

2006-09-26 Thread Charles E Campbell Jr
Tom Carr wrote: I'm trying to pipe messages from ex commands (e.g. :map , :version) into a new tab. I've found http://vim.sourceforge.net/tips/tip.php?tip_id=95, but I was hoping for a better way. Ideally I would type something like :tabmesages :map and it would show :map in a new tab,

Re: Piping messages from ex commands into a new tab

2006-09-26 Thread Christian Ebert
* 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)

Piping messages from ex commands into a new tab

2006-09-25 Thread Tom Carr
I'm trying to pipe messages from ex commands (e.g. :map , :version) into a new tab. I've found http://vim.sourceforge.net/tips/tip.php?tip_id=95, but I was hoping for a better way. Ideally I would type something like :tabmesages :map and it would show :map in a new tab, without printing it