:enew lets me create a new buffer and :.!> lets me dump the output of an external command to that buffer. Can I combine the tw
:enew
:.!> lets me dump the output of an external command to that buffer. Can I combine the tw
>
:.! actually pipes the current line through the external command, possibly losing the line. You may wish to use :r !—Note the space before the !. I often use :0r !cmd so that the output is inserted at the start of the buffer.
:.!
:r !
!
:0r !cmd