Hi,
I'm trying to create a custom vim filewrite command of the form:
autocommand BufWriteCmd py function()
:w argv1 argv2 argv3 ...
The autommand itself is working, but I can't figure out how to access argvN from the python function or how to pass it along (I also get an error when I'm passing mulitple argvs to :w "only one filename might be specified").
The goal is to remap :w to a custom command which sends the buffer to a remote server using XMLRPC.
Thanks in advance!