rkitover/vimpager — pull request #51 by krijesta (2012-11-19 00:09:29+00:00)
Title: Fix vimcat with multiple arguments on the command line

Currently each time we call "writefile()" in the vim we overwrite the entire file so you only end up with one file you passed on the output - this starts vim each tiem to do it per file

This allows "vimcat *" to work. It also adds a header ==>file<== when
there are multiple files (à la 'head'). Although this is significantly
different from 'cat' it seems good as we can't pipe the output of vimcat
to anything else anyway, so the extra adorment seems nice