[vim] :global excommand implementation

this patch implements :global excommand in vim.
This is not a very descriptive name for the function. Something like `splitBySlash` would work much better.