On Sun 16-Sep-07 7:39am -0600, Bram Moolenaar wrote:

>>       2. vim take a list of files as an input (ie: vim -l filelist)

> It's a bit more typing, but you can do it:
>
>         vim '+n `=readfile("/tmp/filelist")`'

Wow!  I didn't know lists could be used that way.

BTW, that format won't work in Windows (it fails with both
4NT and CMD).  What does work for both shells is:

    vim "+n `=readfile('/tmp/filelist')`"

Thanks!

-- 
Best regards,
Bill


--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui