add vim plugin hook

@alexdavid please review