:enew lets me create a new buffer and :.! lets me dump the output of an external command to that buffer. Can I combine the two into a one liner?<command>
Thanks.
:enew lets me create a new buffer and :.! lets me dump the output of an external command to that buffer. Can I combine the two into a one liner?<command>
Thanks.
'|' is used to chain commands together in vim. so
:enew | .! <command>
should do what you want