[vim] :global excommand implementation

this patch implements :global excommand in vim.
Can you change `substitute` to use this function as well?