Probably something like this (untested: sorry!):
vim -c "source myScript.vim" -c "argdo call MyFunc()" -c "saveas
newName.txt" aFile
or:
vim -c "source myScript.vim" -c "argdo call MyFunc()" -c "exec 'saveas
new_' . expand('%:t')" aFile
Al
2009/11/18 epanda <[email protected]>:
>
> Hi,
>
>
> I am launching this vim command to edit an existing file and wanna
> save it under another filename.
>
> vim -c "source myScript.vim" -c "argdo call myFunc()" aFile -
> c ?????????
>
> How can I do ?
> Thanks
> >
>
--
http://sites.google.com/site/abudden
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---