Only define vim() if vim is available