[vim] Add support for global flag in :substitute