merge_vim function

Merge multiple vim objects into one