Is there a better (faster?) way to edit the output of an
external prog in a new tab or window, than to filter the new
buffer through it?

        :tabnew|%!svn diff

Faster?  Not so much.

Better?  for certain definitions of "Better" :)

        :tabnew | 0r! svn diff

It doesn't involve funneling stdin into the target program which for some apps might cause problems. For svn, it shouldn't make a lick of difference.

The "r!" method does have the disadvantage that in a new buffer, the extra "empty" line remains (either at the top if you just use "r!" or at the bottom if you use "0r!"). In many cases, this is unimportant. But you'll want to know about it.

You can read more at

        :help :r!

Hope this helps,

-tim


Reply via email to