tags:

views:

65

answers:

2

:enew lets me create a new buffer and :.!<command> lets me dump the output of an external command to that buffer. Can I combine the two into a one liner?

Thanks.

+3  A: 

'|' is used to chain commands together in vim. so

:enew | .! <command>

should do what you want

Matt Briggs
A: 
bobbogo