Some utility functions for VIM