[vim] :global excommand implementation

this patch implements :global excommand in vim.
What should happen if there is no `cmd`?