split(glob('*')) gives a list of all filenames in a current dir.
:echo split(glob('*'))
On 7 окт, 10:17, "Nag, Deepak" <[EMAIL PROTECTED]> wrote:
> Hi All,
>
> I am trying to write vim script which will fetch all the files
> from a directory. Can I retrieve them and store in a list?. So that I
> can rename all those files according to some criteria.
>
> Regards,
>
> Deepak Nag
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---