[vim] :global excommand implementation

this patch implements :global excommand in vim.
I think s needs to be called potentially multiple times per line.  We need to be careful not to restart at the beginning of the line, though.  The search string could be a substring of the replacement string, which would lead to infinite recursion if we did.