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, without printing it to the screen, without waiting for additional
keypresses, and without using up registers.
There's Decho.vim, which is intended to support debugging but can
certainly do this.
Where to get it:
http://vim.sourceforge.net/scripts/script.php?script_id=120
-or- http://mysite.verizon.net/astronaut/vim/index.html#VimFuncs ,
see "DrC's Vim Debugger"
How to use:
:DechoTabOn
then subsequently :Decho strings such as:
:Decho here is
:Decho a message
:Decho or three.
will show up in the new tab.
Regards,
Chip Campbell