Is it possible to invoke a function in vim automatically?
I'd like to process a text file automatically. I *could* write an
onload for the specific file that calls a functions, saves and exists,
but it does not strike me as very elegant.

Is there anything like

vim -auto -text_file -function


:h starting.txt

Something like:
vim -c "call function()" -c qa! text_file

or so?

Reply via email to