On 16/09/09 13:43, Pablo Giménez wrote:
> Is it possible, looking at the help I haven't found any function to make
> file operations, crossplatform, to move/copy/rname files etc ..
> I mean using vim scripting.
> Is it possible?
> thx
>
>
> --
> Un saludo
> Best Regards
> Pablo Giménez

        :help :saveas

and for other file- and filesystem-related operations
        :help filereadable()
        :help filewritable()
        :help isdirectory()
        :help mkdir()
        :help :vimgrep
etc.

Also, of course, invoking external functions via :! or system() -- these 
can be made cross-platform to some extent by checking the platform via 
has() and invoking, let's say, "ren" or "rendir" under Dos/Windows but 
"mv" under Unix etc.

HTH,
Tony.
-- 
hundred-and-one symptoms of being an internet addict:
149. You find your computer sexier than your girlfriend

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

Reply via email to