How to set this in .vimrcfor Vundle so that all git objects are prefixed using this proxy script?
No. Instead, you do gitthrough a proxy:
git config --global http.proxy http://username:password@proxy.example.com:8080
You can also set the environment variable http_proxyto the same thing:
export http_proxy='http://username:password@proxy.example.com:8080'
https_proxy, .